--- layout: doc_page --- Indexing Service ================ The indexing service is a highly-available, distributed service that runs indexing related tasks. Indexing tasks [tasks](../ingestion/tasks.html) create (and sometimes destroy) Druid [segments](../design/segments.html). The indexing service has a master/slave like architecture. The indexing service is composed of three main components: a [Peon](../design/peons.html) component that can run a single task, a [Middle Manager](../design/middlemanager.html) component that manages peons, and an [Overlord](../design/overlord.html) component that manages task distribution to middle managers. Overlords and middle managers may run on the same node or across multiple nodes while middle managers and peons always run on the same node. Tasks are managed using API endpoints on the Overlord service. Please see [Overlord Task API](../operations/api-reference.html#overlord-tasks) for more information. ![Indexing Service](../../img/indexing_service.png "Indexing Service") Overlord -------------- See [Overlord](../design/overlord.html). Middle Managers --------------- See [Middle Manager](../design/middlemanager.html). Peons ----- See [Peon](../design/peons.html). Tasks ----- See [Tasks](../ingestion/tasks.html).