Infrastructure & Operations · Databases
Apache Druid
Real-time OLAP for high-concurrency event analytics
Apache Druid is an Apache-licensed real-time analytics database for event-oriented data, fast aggregations, and highly concurrent applications. It suits teams building analytical applications, operational dashboards, and APIs over streaming or batch data. Teams can self-host it, while Imply Polaris offers managed Druid service from $100 per month plus usage charges.
Key facts
- License
- Apache-2.0
- Main language
- Java
- Maintainer
- Apache Software Foundation community
- First released
- 2011
- Latest release
- v38.0.0, October 1, 2026
- GitHub stars
- 14,089, October 2026
- Hosted option
- Imply Polaris from $100/month, plus usage charges
What Apache Druid is
Apache Druid is a distributed real-time analytics database for event-oriented data, fast aggregations, and highly concurrent analytical applications. Metamarkets began the project in 2011, with the original paper naming Fangjin Yang, Eric Tschetter, Xavier Léauté, Nelson Ray, Gian Merlino, and Deep Ganguli as authors. The Apache Software Foundation community now maintains the project. The GitHub repository lists 14,089 stars and Apache License 2.0, while the 38.0.0 release lists 37 contributors. A project history reports adoption at Netflix, Lyft, Salesforce, and Pinterest. Metamarkets was acquired by Snap in 2017, and Imply, founded by Druid creators, backs commercial Druid products including Polaris and enterprise offerings.
How it works
Druid targets workloads that combine rapid ingestion with fast aggregation queries. A typical workflow reads Kafka, RabbitMQ, HDFS, flat files, or object storage, then uses the web console, SQL, native APIs, or JDBC to define ingestion and query data. Streaming and batch ingestion make new data queryable. Columnar segments reduce reads for selective queries, bitmap indexes accelerate filters, and time partitioning narrows scans. Approximate algorithms support bounded-memory counts, rankings, histograms, and quantiles. The console helps operators configure ingestion, inspect supervisors and tasks, manage datasources, view services, and issue DruidSQL or native queries. Druid fits event analytics better than transactional workloads requiring frequent individual-row updates.
Architecture and recent releases
Druid separates coordination, ingestion, querying, and data-serving responsibilities across Coordinator, Overlord, Broker, Router, Historical, Middle Manager, Peon, and optional Indexer services. Deep storage can use cloud object storage, HDFS, or a shared filesystem. Cluster metadata commonly uses PostgreSQL or MySQL, while a single-server setup can use Derby; ZooKeeper supports service discovery, coordination, and leader election. Java is the primary implementation language, with JavaScript and TypeScript in the web console and Python and Shell used around the project. Version 38.0.0, released October 1, 2026, adds Java 25 support, drops Java 17 support, and contains more than 250 changes from 37 contributors.
License and pricing
Apache Druid uses Apache License 2.0, which permits commercial use, modification, and redistribution subject to the license terms. The open-source project has no required subscription price. Self-hosting still requires infrastructure and operational work because clustered deployments use several Druid services, metadata storage, ZooKeeper, and deep storage. Imply Polaris is a managed cloud service built on Druid. Its published starter tier begins at $100 per month for a 25 GB project, while standard projects begin at $600 per month. Usage charges apply to compute, ingestion, and file storage. Imply also sells enterprise managed deployments with separate commercial terms.
Limitations and how it compares
Druid is a focused analytical database rather than a general relational store. Its documentation advises against low-latency primary-key updates, large fact-to-fact joins, and offline reporting where query latency has little importance. ClickHouse is a strong alternative for columnar analytical SQL, Apache Pinot is a close option for real-time user-facing analytics, and Trino suits federated SQL across multiple data systems. Druid also demands more operational planning than a single-node analytical database because its deployment separates services and external dependencies. Choose Druid for event-oriented data, streaming ingestion, time-based partitioning, high concurrency, and fast aggregations.
Main features
- Real-time ingestion. Ingest streaming and batch data from Kafka, RabbitMQ, HDFS, flat files, and object storage while making new data queryable.
- Columnar segments. Column-oriented segments read selected columns efficiently and optimize storage according to each column's data type.
- Distributed queries. Brokers distribute queries across Historical services, merge results, and expose a unified endpoint to external clients.
- Bitmap indexes. Roaring and CONCISE compressed bitmap indexes accelerate filtering and searching across multiple columns.
- Time partitioning. Time-based partitions restrict queries to relevant intervals, reducing work for event and time-series analytics.
- Approximate algorithms. Approximate counts, rankings, histograms, and quantiles provide bounded-memory calculations alongside exact query options.
- Web console. The built-in console supports ingestion setup, query development, datasource management, task monitoring, and service inspection.
Self-hosting Apache Druid
Druid supports a local quickstart, Docker images, and Kubernetes deployments using the separately maintained druid-operator. A production cluster commonly separates Master, Query, and Data server roles, though smaller installations can colocate services. Clustered deployments require deep storage such as S3, HDFS, or a shared filesystem, metadata storage such as PostgreSQL or MySQL, and ZooKeeper. The documentation does not define one universal minimum CPU or memory requirement. Size infrastructure for segment storage, Historical caches, ingestion concurrency, query load, and retention. Preserve deep storage for recovery, and review upgrade notes before changing versions.
Strengths
- Apache-2.0 licensing permits commercial deployment and redistribution.
- Real-time and batch ingestion support mixed event pipelines.
- Columnar segments and bitmap indexes target fast aggregations.
- Imply Polaris offers managed hosting with published entry pricing.
Drawbacks
- Cluster operation requires several Druid services and external dependencies.
- Druid is a poor fit for frequent primary-key updates.
- No universal minimum hardware profile is documented.
What teams replace with it
Teams usually evaluate Apache Druid when they want to move off Splunk, Domo, Tableau.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Apache Druid
Frequently asked questions
Is Apache Druid free to use?
Yes. Apache Druid uses Apache License 2.0, and the open-source project does not require a subscription. Users still pay for servers, storage, operations, and any managed service. Imply Polaris is a commercial hosted option, with published starter pricing from $100 per month plus usage charges for compute, ingestion, and file storage.
Can companies use Apache Druid commercially?
Yes. Apache License 2.0 permits commercial use, modification, and redistribution subject to its conditions. The open-source Druid distribution is separate from commercial products that add management, visualization, support, or proprietary extensions. Teams should review the terms for any Imply distribution or service because those offerings can include components outside the Apache-licensed project.
What does a self-hosted Druid cluster require?
A production cluster normally uses Druid services for coordination, ingestion, querying, and segment storage, plus deep storage, metadata storage, and ZooKeeper. PostgreSQL or MySQL can hold clustered metadata, while S3, HDFS, or shared filesystems can provide deep storage. Docker and Kubernetes deployment paths exist, but documentation does not define one universal minimum hardware configuration.
How does Druid compare with ClickHouse?
Druid and ClickHouse both target columnar analytical workloads, but their operating models differ. Druid separates ingestion, query, coordination, and historical services, with deep storage and time-based segments. It suits streaming event analytics and high concurrency. ClickHouse is a relevant alternative for teams preferring a more SQL-centered analytical database design and a different cluster architecture.
How does Druid handle data privacy and security?
Druid can be self-hosted, allowing an organization to keep data within its chosen infrastructure and control storage locations. Privacy and security depend on deployment configuration, network controls, identity settings, and provider practices. Polaris publishes authentication, role-based access, and encryption details for its hosted service. Teams should configure access controls and storage protection for their environment.
Similar projects to compare
- ClickHouseApache-2.0ClickHouse is an Apache 2.0 licensed, column-oriented SQL database for real-time analytics. Created at Yandex and open sourced in 2016, it uses compressed columnar storage, vectorized execution, and MergeTree engines for large analytical workloads. Users can run local or distributed clusters with Docker or Kubernetes, or choose ClickHouse Cloud, a managed service with usage-based pricing.
- Apache PinotApache-2.0Apache Pinot is an Apache-licensed distributed OLAP datastore for low-latency analytics on streaming and batch data. It began at LinkedIn, was open-sourced in 2015, and is maintained by the Apache Software Foundation. Pinot supports streaming ingestion, columnar storage, distributed SQL, varied indexes, upserts, and workload isolation. StarTree offers a separate hosted Pinot service with quote-based pricing.
- ActiveloopApache-2.0Activeloop Deep Lake is an Apache-2.0 multimodal AI data runtime, database, and vector store for teams building retrieval and training systems around text, images, audio, video, metadata, and embeddings. The Python-centered open-source package supports local and customer-cloud storage, while Activeloop offers hosted storage, a managed tensor database, Knowledge Agents, and enterprise deployment options.
- Apache IoTDBApache-2.0Apache IoTDB is an Apache License 2.0 time-series database for industrial IoT collection, storage, and analysis. It targets teams managing sensor data across edge and cloud deployments. The software is free to self-host, while Timecho offers commercial products and support based on IoTDB. No public hosted Apache IoTDB price is published.
- Beekeeper StudioGPL-3.0 for Community Edition; commercial source-available license for paid componentsBeekeeper Studio is a cross-platform SQL editor and database manager for developers, analysts, and database administrators. The Community Edition is free under GPLv3, while commercial features use a source-available commercial license. It runs on Windows, macOS, and Linux, and Professional and Business subscriptions include cloud workspaces.
- Chat2DBLicenseRef-Chat2DB, modified Apache-2.0 for v5.3.0 and later; source-available with additional use and distribution conditionsChat2DB is a cross-platform database client and SQL workspace for developers, DBAs, analysts, and data teams. Community 5.3.0 and later uses a modified Apache 2.0 license with source-available restrictions. Desktop and Docker use can be local, while commercial Pro and Enterprise offerings add hosted services, accounts, collaboration, and governance.