--- title: Number of workers slug: '3278' canonical_url: https://docs.coveo.com/en/3278/ collection: index-content source_format: adoc --- # Number of workers Workers are the [Coveo Crawling Module](https://docs.coveo.com/en/3260/) [components](https://docs.coveo.com/en/3260#components) responsible for [executing update tasks requested by Coveo](https://docs.coveo.com/en/3260#workflow). For more information on these operations, see [Refresh, rescan, and rebuild](https://docs.coveo.com/en/2039/). There are two types of workers: * [Content workers](#content-workers), which accomplish content update tasks. * [Security workers](#security-workers), which retrieve the latest [permission model](https://docs.coveo.com/en/225/) of each [item](https://docs.coveo.com/en/210/) [indexed](https://docs.coveo.com/en/204/) by a [source](https://docs.coveo.com/en/246/). Once you have [deployed the Crawling Module](https://docs.coveo.com/en/3261/), you can [edit its configuration](https://docs.coveo.com/en/3266#editing-the-crawling-module-configuration) to create or delete workers. You can also monitor your workers from the Crawling Module [component dashboard](https://docs.coveo.com/en/2766/). ## Content workers A worker executes one content update operation at a time. When you have more than one content worker, each works on its own task. For example, with two content workers, a Jira Software source [refresh](https://docs.coveo.com/en/2710/) and a File System source [rescan](https://docs.coveo.com/en/2711/) can happen simultaneously, while a single content worker would execute these tasks one after the other. When all content workers are busy, any new content update task is delayed until one of them becomes available. Content update operations repeatedly executed behind [schedule](https://docs.coveo.com/en/1933/) indicate that you have too few content workers. Consequently, the search results in your Coveo-powered [search interface](https://docs.coveo.com/en/2741/) may not reflect your actual data. By default, after its deployment, the Crawling Module has four content workers. > **Leading practice** > > As a rule of thumb, start with one content worker between two sources associated with this Crawling Module. > So, if you have four Crawling Module sources, two content workers should typically suffice. ## Security workers Each Crawling Module [source that indexes permissions](https://docs.coveo.com/en/1779#same-users-and-groups-as-in-your-content-system) created with the [new connector version](https://docs.coveo.com/en/3267#indexing-secured-content) comes with at least one [security identity provider](https://docs.coveo.com/en/242/) that provides Coveo with the [permission model](https://docs.coveo.com/en/225/) of each retrieved item. Coveo can then replicate this model in the search interfaces it powers so that each end user can see only the content they're allowed to access in your original repository. The [**Security Identities**](https://platform.cloud.coveo.com/admin/#/orgid/content/permissions/providers/) ([platform-ca](https://platform-ca.cloud.coveo.com/admin/#/orgid/content/permissions/providers/) | [platform-eu](https://platform-eu.cloud.coveo.com/admin/#/orgid/content/permissions/providers/) | [platform-au](https://platform-au.cloud.coveo.com/admin/#/orgid/content/permissions/providers/)) [Administration Console](https://docs.coveo.com/en/1841/) page shows a list of your security identity providers. Security workers are responsible for crawling the content [permissions](https://docs.coveo.com/en/223/) and feeding security identity providers this information. They also extract [members](https://docs.coveo.com/en/2873/) from [group security identities](https://docs.coveo.com/en/202/) and associate [users](https://docs.coveo.com/en/250/) with their email identity. For more information on [sources that index permissions](https://docs.coveo.com/en/1779#same-users-and-groups-as-in-your-content-system) and on how Coveo handles these permissions, see [Coveo management of security identities and item permissions](https://docs.coveo.com/en/1719/). Similarly to a content worker, a security worker can execute only one update operation at a time. It's therefore crucial to have an adequate number to ensure that Coveo search results reflect your actual content permissions. By default, after its deployment, the Crawling Module has four security workers. > **Leading practice** > > As a rule of thumb, start with one security worker between two sources that index permissions associated with this Crawling Module. > These are sources that have the [**Same users and groups as in your content system**](https://docs.coveo.com/en/1779#same-users-and-groups-as-in-your-content-system) content security option selected, or `"sourceVisibility": "SECURED"` if the source was [created via API](https://docs.coveo.com/en/3268#database). > > So, if you have four Crawling Module sources, and only two of them index permissions, a single security worker should typically suffice. ## What's next? * Knowing the numbers of workers you need allows you to adjust the [hardware](https://docs.coveo.com/en/3262#hardware) of the server on which you will deploy the Crawling Module. * Once you have [deployed the Crawling Module](https://docs.coveo.com/en/3261/), you can [edit its configuration](https://docs.coveo.com/en/3266#editing-the-crawling-module-configuration) to create or delete workers. * You can also monitor your workers from the Crawling Module [component dashboard](https://docs.coveo.com/en/2766/).