Apache Druid: what it does and how to run it
a real-time analytics database for dashboards over billions of events
Independent review. Some links are affiliate links; they never affect the verdict or the ranking. Full disclosure.
Apache Druid is an analytics database for event data: ingest from Kafka or batch files, roll up on time, and answer aggregation queries fast enough that a dashboard does not need a spinner. It is real infrastructure — several node types, memory to size, a schema decision about rollup that is hard to undo. Reach for it when a Postgres materialised view has stopped keeping up.
Below a few hundred million rows, ClickHouse or Postgres is less work for the same result.
What Apache Druid actually does
This entry collects the essentials: what the project does, what licence it ships under, and where it fits next to the alternatives. Check the official site for the current feature list.
Core features
- Sub-second queries over event streams and historical data
- Ingestion from Kafka and batch sources
- Time-based partitioning and rollup to control storage
- SQL interface alongside native queries
Where it is strongest
- built for concurrency
- handles high ingest rates
Who it is for
teams whose dashboards must answer in under a second on streaming data
It is designed for the query pattern dashboards actually produce — many users, same aggregate, fresh data — instead of the row-lookup pattern of a transactional database
How Apache Druid compares
These are the entries closest to Apache Druid on this site — same category, overlapping job. Licence and hosting model are the two columns worth reading first, because they decide your total cost more than the feature list does.
| Tool | Licence | Cost | Best for |
|---|---|---|---|
| Apache Druid This page | Apache-2.0 | Free to self-host | a real-time analytics database for dashboards over billions of events |
| Baserow | MIT | Free to self-host | Spreadsheet-database that teams actually use |
| Grist | Apache-2.0 | Free to self-host | Relational spreadsheets for real workflows |
| Metabase | AGPL-3.0 | Free to self-host | Analytics and dashboards the whole team gets |
How to get Apache Druid running
- Pick the hostA 2 GB VPS covers most of these apps for a small team. If you would rather not run an operating system, a managed app host gives you a one-click container with backups and TLS included.
- Provision the runtimeApache Druid ships as a container image or a documented install script. Pin a
release tag rather than tracking
latest, so an upstream change never surprises you on a Friday. - Attach persistent storagePoint the data volume at a path you back up. Most of these apps keep everything — users, settings, history — in one database plus an uploads folder.
- Put it behind a domain with TLSAdd an A record, then terminate TLS at your proxy or at the host. Set the public URL in the app's environment before first login, because several apps bake it into links.
- Secure the admin accountChange the default credentials, enable 2FA where offered, and close registration unless the app is meant to be public.
- Schedule the first backupA nightly snapshot that you have actually restored once is worth more than any feature on this page.
Licence and cost
Apache-2.0. Permissive like MIT, with an explicit patent grant that matters if you are building a commercial product.
Self-hosting removes the subscription but not the work: patching, backups, monitoring and the odd 2am alert. Budget a few hours a month for a small deployment.
Questions people ask
Is Apache Druid free to use?
Yes. Apache Druid is released under Apache-2.0, so you can install and run it without a subscription. Permissive like MIT, with an explicit patent grant that matters if you are building a commercial product. Hosting and maintenance still cost money — a small VPS or a managed app host is the usual answer.
Can I self-host Apache Druid?
Yes — that is the point of this listing. You need a server with a supported runtime, persistent storage and a backup schedule. A managed app host removes most of the setup work if you would rather not maintain the operating system yourself.
What is a good alternative to Apache Druid?
Baserow is the closest option in the same category on this site — Spreadsheet-database that teams actually use. It is worth comparing licence terms before you pick.
Who is Apache Druid aimed at?
teams whose dashboards must answer in under a second on streaming data Apache Druid uses the Apache-2.0 licence. Start with a single team and a single workflow rather than rolling it out to the whole company at once.