--- id: peons title: "Peons" --- ### Configuration For Apache Druid Peon Configuration, see [Peon Query Configuration](../configuration/index.md#peon-query-configuration) and [Additional Peon Configuration](../configuration/index.md#additional-peon-configuration). For basic tuning guidance for MiddleManager tasks, see [Basic cluster tuning](../operations/basic-cluster-tuning.md#task-configurations). ### HTTP endpoints For a list of API endpoints supported by the Peon, please see the [Peon API reference](../operations/api-reference.md#peon). Peons run a single task in a single JVM. MiddleManager is responsible for creating Peons for running tasks. Peons should rarely (if ever for testing purposes) be run on their own. ### Running The Peon should very rarely ever be run independent of the MiddleManager unless for development purposes. ``` org.apache.druid.cli.Main internal peon ``` The task file contains the task JSON object. The status file indicates where the task status will be output.