druid/docs/design/middlemanager.md

1.8 KiB

id title
middlemanager MiddleManager service

Configuration

For Apache Druid MiddleManager service configuration, see MiddleManager and Peons.

For basic tuning guidance for the MiddleManager service, see Basic cluster tuning.

HTTP endpoints

For a list of API endpoints supported by the MiddleManager, please see the Service status API reference.

Overview

The MiddleManager process is a worker process that executes submitted tasks. Middle Managers forward tasks to Peons that run in separate JVMs. The reason we have separate JVMs for tasks is for resource and log isolation. Each Peon is capable of running only one task at a time, however, a MiddleManager may have multiple Peons.

Running

org.apache.druid.cli.Main server middleManager