0.20.0 / 16 October 2020
|License||Apache License 2.0|
Druid is a column-oriented, open-source, distributed data store written in Java. Druid is designed to quickly ingest massive quantities of event data, and provide low-latency queries on top of the data. The name Druid comes from the shapeshifting Druid class in many role-playing games, to reflect the fact that the architecture of the system can shift to solve different types of data problems.
Druid is commonly used in business intelligence/OLAP applications to analyze high volumes of real-time and historical data. Druid is used in production by technology companies such as Alibaba, Airbnb, Cisco, Deep.BI, eBay, Lyft, Netflix, PayPal, Pinterest, Twitter, Walmart, Wikimedia Foundation and Yahoo.
Druid was started in 2011 to power the analytics product of Metamarkets. The project was open-sourced under the GPL license in October 2012, and moved to an Apache License in February 2015.
Fully deployed, Druid runs as a cluster of specialized processes (called nodes in Druid) to support a fault-tolerant architecture where data is stored redundantly, and there is no single point of failure. The cluster includes external dependencies for coordination (Apache ZooKeeper), metadata storage (e.g. MySQL, PostgreSQL, or Derby), and a deep storage facility (e.g. HDFS, or Amazon S3) for permanent data backup.
Client queries first hit broker nodes, which forward them to the appropriate data nodes (either historical or real-time). Since Druid segments may be partitioned, an incoming query can require data from multiple segments and partitions (or shards) stored on different nodes in the cluster. Brokers are able to learn which nodes have the required data, and also merge partial results before returning the aggregated result.
Operations relating to data management in historical nodes are overseen by coordinator nodes. Apache ZooKeeper is used to register all nodes, manage certain aspects of internode communications, and provide for leader elections.
- Low latency (streaming) data ingestion
- Arbitrary slice and dice data exploration
- Sub-second analytic queries
- Approximate and exact computations
- Hemsoth, Nicole. "Druid Summons Strength in Real-Time" Archived 2013-02-27 at the Wayback Machine, Datanami, 08 November 2012
- druid. "Druid | Powered by Druid". druid.apache.org. Retrieved 2016-06-29.
- Butler, Brandon. "Under the hood of Cisco's Tetration Analytics platform". Retrieved 2016-06-23.
- "Real-time Stream Analytics and User Scoring Using Apache Druid, Flink & Cassandra at Deep.BI".
- "Druid at Pulsar - ebay的专栏 - 博客频道 - CSDN.NET". blog.csdn.net. Retrieved 2016-06-23.
- Streaming SQL and Druid by Arup Malakar, retrieved 2020-01-29
- "The Netflix Tech Blog: Announcing Suro: Backbone of Netflix's Data Pipeline". techblog.netflix.com. Retrieved 2016-06-23.
- Pinterest: Powering Ad Analytics with Apache Druid, retrieved 2020-01-29
- "Interactive Analytics at MoPub: Querying Terabytes of Data in Seconds". blog.twitter.com. Retrieved 2020-01-29.
- Nayak, Amaresh (2018-02-23). "Event Stream Analytics at Walmart with Druid". Medium. Retrieved 2020-01-29.
- "Complementing Hadoop at Yahoo: Interactive Analytics with Druid". Retrieved 2016-06-23.
- Tschetter, Eric. "Introducing Druid", druid.apache.org, 24 October 2012
- Higginbotham, Stacey. "Metamarkets open sources Druid, its in-memory database", GigaOM, 24 October 2012
- Harris, Derrick (2015-02-20). "The Druid real-time database moves to an Apache license". Retrieved 2015-08-04.
- "Druid Gets Open Source-ier Under the Apache License". Retrieved 2015-08-04.
- druid. "Druid | Druid Community". druid.apache.org. Retrieved 2016-06-23.
- Druid Project Documentation
- Yang, Fangjin; Tschetter, Eric; Léauté, Xavier; Ray, Nelson; Merlino, Gian; Ganguli, Deep. "Druid: A Real-time Analytical Data Store", Metamarkets, retrieved 6 February 2014