Back to Druid

Indexing Service

docs/design/indexing-service.md

latest1.9 KB
Original Source
<!-- ~ Licensed to the Apache Software Foundation (ASF) under one ~ or more contributor license agreements. See the NOTICE file ~ distributed with this work for additional information ~ regarding copyright ownership. The ASF licenses this file ~ to you under the Apache License, Version 2.0 (the ~ "License"); you may not use this file except in compliance ~ with the License. You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, ~ software distributed under the License is distributed on an ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~ KIND, either express or implied. See the License for the ~ specific language governing permissions and limitations ~ under the License. -->

The Apache Druid indexing service is a highly-available, distributed service that runs indexing related tasks.

Indexing tasks are responsible for creating and killing Druid segments.

The indexing service is composed of three main components: Peons that can run a single task, Middle Managers that manage Peons, and an Overlord that manages task distribution to Middle Managers. Overlords and Middle Managers may run on the same process or across multiple processes, while Middle Managers and Peons always run on the same process.

Tasks are managed using API endpoints on the Overlord service. Please see Tasks API for more information.

Overlord

See Overlord.

Middle Managers

See Middle Manager.

Peons

See Peon.

Tasks

See Tasks.