
Explore Apache Druid, an open-source, high-performance real-time analytics database, learn to load data, run subsecond queries, and understand its architecture with historical, real-time, and coordinate nodes.
Analyze data in real time as it enters the database to store, process, and retrieve data, enabling rapid, data-driven decisions.
Explore Apache Druid as a real-time analytics database built for fast slice-and-dice OLAP queries, with real-time ingestion, high uptime, and fast aggregation for event-oriented data.
Explore Apache Druid's key features: columnar storage, scalable architecture, real-time or batch ingestion, and fast filtering via bitmap indexes. Understand time-based partitioning and automatic summarization at ingest for efficiency.
Leverage Apache Druid for real-time ingestion and fast query performance with high uptime across diverse use cases. Analyze clickstream, network telemetry, iot, and application metrics for interactive olap and bi.
Discover when to use Druid for high insert rates with infrequent updates, fast aggregation and reporting queries, time-based optimization, and data loading from Kafka, DFS, flat files, or S3.
Install apache druid on your local machine by creating a directory, downloading the tarball with wget, extracting it, and noting that Windows is not supported and Java 8/11/17 are required.
Start up Apache Druid services using the automatic single machine configuration with default settings; run bin/start-druid, then view the web console and stop with Ctrl-C.
Explore starting Apache Druid via nano quickstart after microservices issues, view the web console at localhost:8888, and review core Druid services like ZooKeeper, middle manager, historical, router, broker, and coordinator.
Discover the Apache Druid web console’s data ingestion options, including streaming and batch sources, plus basic visualizations like time charts, tables, and pie charts.
Learn how to run Apache Druid on Docker Desktop for Windows by pulling Apache Druid 32.0.1, Zookeeper latest, and Postgres latest images after meeting prerequisites.
Learn to run Apache Druid on Docker Desktop using Docker Compose and start services. Access localhost to run select star from schemata and stop with Docker Compose down.
Explore Apache Druid's distributed, cloud-friendly architecture with independent, fault-tolerant servers and services, including master, query, and data servers, and dependencies like meta storage, zookeeper, and deep storage.
Explore how Druid servers are organized into master, query, and data roles, with master coordinating ingestion and availability, and query broker and router, and data historical and middle manager tasks.
Discover how Apache druid services ensure data availability through the coordinator's segment management and replication, and how the broker, router, overload, and middle manager coordinate ingestion and queries with zookeeper.
Learn how Apache Druid uses external dependencies, including deep storage, metadata storage, and zookeeper, to manage data, metadata, and cluster coordination.
Learn how Druid stores data in data sources, similar to tables in RDBMS, partitioned by time into chunks and segments, with each segment a compact, indexed file that accelerates queries.
Explore segment identifiers in Apache Druid, where each segment carries a multi-part key—data source name, time interval, segment granularity, version number, and partition number.
Explore how Apache Druid partitions data into time-based segments and chunks, creates segments per interval, and manages segment file sizes between 300 and 700 MB by adjusting granularity or partitioning.
Explore the segment file structure in Apache Druid, a columnar format storing timestamp, dimension, and metrics separately to reduce latency by scanning only needed columns.
Base directory: quickstart/tutorial/
File filter: wikiticker-2015-09-12-sampled.json.gz
https://druid.apache.org/data/wikipedia.json.gz.
Discover how Apache Kafka uses a pub-sub architecture with producers, brokers, and consumers. Learn how messages flow through a central broker rather than direct producer-consumer connections.
Download and unzip the data with curl and gunzip, start Zookeeper and Kafka, create a Kafka topic, and publish data so Apache Druid can fetch records from Kafka.
Learn to load data from Kafka into Druid by creating a streaming spec, configuring json input and timestamp, setting day granularity, publishing, and querying the KTM Kafka data source.
Write and run a Druid query on the Wikipedia table to count edits by page and country name, then view the explain plan using the explain query tool.
Learn how to aggregate data with roll up in Apache Druid by enabling roll up, setting minute-level granularity, and computing sums of packets and bytes across source and destination IPs.
Apache Druid for Data Engineers (Hands-On)
Modern data-driven organizations need real-time insights from massive streams of events, logs, and metrics. Traditional data warehouses and batch processing systems struggle to deliver sub-second query performance on high-volume, high-velocity data. This is where Apache Druid comes in.
Apache Druid is a high-performance real-time analytics database widely adopted by companies like Netflix, Airbnb, Lyft, and Cisco for powering interactive dashboards, anomaly detection, log analytics, and user-facing applications. Designed for speed and scalability, Druid combines the best of OLAP databases, time-series stores, and search systems.
This course, Apache Druid for Data Engineers (Hands-On), is a step-by-step, practical guide that takes you from installation to real-world use cases. You’ll learn how to install Druid on both Linux and Windows (via Docker), explore its architecture, storage design, and segment structure, and practice loading and querying data from local files, URIs, and Kafka streams. You’ll also gain clarity on where Druid fits in the modern big data stack by comparing it with Redshift, BigQuery, and Elasticsearch.
What You’ll Learn
By the end of this course, you will be able to:
Understand the fundamentals of real-time analytics databases and why Apache Druid is unique.
Explore key features, technology stack, and use cases of Druid.
Install Apache Druid on a Linux environment and on Windows using Docker Desktop.
Navigate the Druid web console to load, query, and manage data interactively.
Understand the architecture of Druid, including servers, services, and external dependencies.
Learn how Druid organizes data with datasources, segments, and identifiers.
Load data into Druid from local files, URIs, and real-time Kafka streams.
Run queries and explain plans, aggregate data with rollups, and optimize query performance.
Compare Druid with data warehouses (Redshift, BigQuery), search systems (Elasticsearch), and time-series databases.
Answer common FAQs around deployment, memory, compute, and integration with other tools.