Druid
Distributed, column-oriented, real-time analytics data store.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
Apache Druid is an open-source real-time analytics database from the Apache Software Foundation. It is designed to deliver sub-second queries on both streaming and batch data at large scale and under heavy load. The original domain, druid.io, now redirects to druid.apache.org.
Key Features
- Sub-second OLAP queries: Even on datasets with billions to trillions of rows and high cardinality and dimensionality, OLAP queries complete in milliseconds without needing to define or cache queries in advance.
- High concurrency, low cost: The architecture is efficient, supporting hundreds to hundreds of thousands of queries per second with stable performance, and requires less infrastructure than comparable databases.
- True streaming ingestion: Native integration with Apache Kafka and Amazon Kinesis, with no extra connectors needed. Data is queryable as soon as it arrives, and millions of events per second can be handled with low latency and guaranteed consistency.
- Interactive query engine: Uses a scatter/gather pattern, with data preloaded into memory or local storage to reduce data movement and network latency.
- Optimized data format: Ingested data is automatically converted to columnar storage, with time indexing, dictionary encoding, bitmap indexes and type-aware compression applied.
- Tiering and QoS: Data tiering and quality-of-service policies can be configured to balance price and performance under mixed workloads, guarantee priorities and avoid resource contention.
- Elastic architecture: Ingestion, query and orchestration components are loosely coupled, and combined with a deep storage layer, this makes scaling up and scaling out straightforward.
- Continuous reliability: Built-in continuous backup, automatic recovery and multi-node replication ensure high availability and data durability.
- Automatic schema discovery: Column names and data types are automatically detected, defined and updated during ingestion, combining the convenience of schemaless data with the performance of strongly typed schemas.
- Flexible joins: Joins can be performed at both ingestion time and query time. Queries are fastest on tables that are pre-joined at ingestion.
- SQL support: The entire workflow of ingestion, transformation and querying can be done through a familiar SQL API.
Target Users and Use Cases
Druid is aimed at developers, data engineers and analysts who need to build real-time analytics applications, and suits scenarios such as:
- User-facing real-time analytics dashboards and embedded analytics
- Clickstream, user behavior and advertising data analysis
- API observability, operations monitoring and metrics analysis
- Real-time insights based on Kafka/Kinesis event streams
The official website states that Druid is used in large-scale production environments at many major companies around the world.
Deployment
- Download a release from the Downloads page on the official website and follow the official Quickstart tutorial to get up and running in a few minutes, then load your own data and query it.
- The source code is hosted on GitHub (apache/druid).
- It uses a distributed architecture that can scale from a single machine to a large cluster, and requires a deep storage layer to be configured to hold the data.
Notable Points
- An Apache top-level project with an active community and frequent releases (such as 36.0.0, 37.0.0 and 38.0.0).
- The official documentation covers security features, configuration and best practices.
- Community help is available through channels such as Slack and Meetup, and there is also an official podcast.
Discover more
Litlyx
All-in-one Analytics Solution. Setup in 30 seconds. Display all your data on an AI-powered dashboard. Fully self-hostable and GDPR compliant.
Metabase
Easy way for everyone in your company to ask questions and learn from data.
Middleware
Tool designed to help engineering leaders measure and analyze the effectiveness of their teams using the DORA metrics.
Offen
Fair, lightweight and open web analytics tool. Gain insights while your users have full access to their data.
Postiz
Schedule posts, track the performance of your content, and manage all your social media accounts in one place (Alternative to Buffer, Hootsuite, Sprout Social).
ANALOG
A minimal analytics tool to self-host.