---
title: Web farm internals and API
related:
  - https://docs.kentico.com/13/configuring-xperience/setting-up-web-farms.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

## Database tables

The following database tables are used to store information for the web farm module:

| Database table         | Description                                                                                                                                                                                                       |
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| CMS\_WebFarmServer     | Contains records representing web farm servers.                                                                                                                                                                   |
| CMS\_WebFarmTask       | Stores web farm synchronization tasks. Each entry represents a task which should be processed by a server. Successfully completed tasks are automatically deleted from the table.                                 |
| CMS\_WebFarmServerTask | Stores relationships between web farm servers and synchronization tasks. Each entry indicates that a task should be processed by a server. Successfully completed tasks are automatically deleted from the table. |

![](https://docs.kentico.com/docsassets/13/web-farm-internals-and-api/web_farm_db.png)

## API classes

| Class                            | Namespace                                                | Description                                                         |
| -------------------------------- | -------------------------------------------------------- | ------------------------------------------------------------------- |
| **CMS\_WebFarmServer table API** |                                                          |                                                                     |
| WebFarmServerInfo                | CMS.WebFarmSync                                          | Represents one web farm server.                                     |
| WebFarmServerInfoProvider        | Provides management functionality for web farm servers.  |                                                                     |
| **CMS\_WebFarmTask table API**   |                                                          |                                                                     |
| WebFarmTaskInfo                  | CMS.WebFarmSync                                          | Represents one web farm synchronization task.                       |
| WebFarmTaskInfoProvider          | Provides data-level management of synchronization tasks. |                                                                     |
| **Other classes**                |                                                          |                                                                     |
| WebFarmHelper                    | CMS.Helpers                                              | Provides functionality for managing web farm synchronization tasks. |
