---
title: Setting up web farms
related:
  - https://docs.kentico.com/13/configuring-xperience/setting-up-web-farms/configuring-web-farm-servers.md
  - https://docs.kentico.com/13/configuring-xperience/managing-sites/configuring-settings-for-sites/settings-versioning-synchronization/settings-web-farm.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).

Web farms **distribute computing** among multiple web servers that all provide the same content. Each server increases the number of requests that the web farm can serve, which allows you to scale the performance of the website. You can also use web farms to achieve high availability – if one of the servers in the web farm stops working, the other servers continue to run the site.

In addition to scaling for performance reasons, Xperience uses web farms by default for all sites. Web farm functionality ensures synchronization between the live site application ([MVC](https://docs.kentico.com/13/developing-websites/mvc-development-overview.md) or [ASP.NET Core](https://docs.kentico.com/13/developing-websites/developing-xperience-applications-using-asp-net-core.md)) and the Xperience administration application.

Native web farm support in Xperience provides the following features:

- Synchronization of cached content and object data across all web farm servers.
- Synchronization of changes made to the site settings on one of the servers to all other servers.
- Synchronization of files uploaded to the site between all servers. This is used only if you [store uploaded files on the disk](https://docs.kentico.com/13/configuring-xperience/managing-files/storing-files.md) or on both disk and in the database.

The following image illustrates the structure of a web farm environment and demonstrates how the synchronization works:

![Web farm schema](https://docs.kentico.com/docsassets/13/setting-up-web-farms/webfarm_schema.png "Web farm schema")

If you change some settings or content, or upload a file using server 192.168.1.2, the other servers do not know about this change in a standard scenario. However, if you are using web farm synchronization, the system automatically logs the changes into the database as **web farm tasks**.

The system uses the _CMS\_WebFarmServerTask_ database table to find tasks created for the current server. On the application side, a routine runs in a separate long running **thread** which continuously polls the database to find the tasks.

Before you can start using web farm synchronization, you need to make sure that **all servers that make up a web farm are configured in the system**. See [Configuring web farm servers](https://docs.kentico.com/13/configuring-xperience/setting-up-web-farms/configuring-web-farm-servers.md).

> **Info:** **Note**: The web farm support does not replace load-balancing or web farm management tools.
