Yahoo Casts Real-Time OLAP Queries with Druid
Yahoo is in the process of implementing a big data tool called Druid to power high-speed real-time queries against its massive Hadoop-based data lake. Engineers at the Web giant say the open source database’s combination of speed and usability on fast-moving data make it ideal for the job.
Druid is a column-oriented in-memory OLAP data store that was originally developed more than four years ago by the folks at Metamarkets, a developer of programmatic advertising solutions. The company was struggling to keep the Web-based analytic consoles it provides customers fed with the latest clickstream data using relational tools like Greenplum and NoSQL databases like HBase, so it developed its own distributed database instead.
The core design parameter for Druid was being able to compute drill-downs and roll-ups over a large set of “high dimensional” data comprising billions of events, and to do so in real time, Druid creator, Eric Tschetter wrote in a 2011 blog post introducting Druid. To accomplish this, Tschetter decided that Druid would feature a parallelized, in-memory architecture that scaled out, enabling users to easily add more memory as needed.
Druid essentially maps the data to memory as it arrives, compresses it into a column, and then builds indexes for each column. It also maintains two separate subsystems: a read-optimized subsystem in the historical nodes, and a write-optimized subsystem in real-time nodes (hence the name “Druid,” a shape-shifting character common in role playing games). This approach lets the database query very large amounts of historical and real-time data, says Tschetter, who left Metamarkets to join Yahoo in late 2014.
“Druid’s power resides in providing users fast, arbitrarily deep exploration of large-scale transaction data,” Tschetter writes. “Queries over billions of rows, that previously took minutes or hours to run, can now be investigated directly with sub-second response times.”
Metamarkets released Druid as an open source project on GitHub in October 2012. Since then, the software has been used by a number of companies for various purposes, including as a video network monitoring, operations monitoring, and online advertising analytics platform, according to a 2014 white paper.
Netflix was one of the early companies testing Druid, but it’s unclear if it implemented it into production. One company that has adopted Druid is Yahoo, the ancestral home of Hadoop. Yahoo is now using Druid to power a variety of real-time analytic interfaces, including executive-level dashboards and customer-facing analytics, according to a post last week on the Yahoo Engineering blog.
Yahoo engineers explain Druid in this manner:
“The architecture blends traditional search infrastructure with database technologies and has parallels to other closed-source systems like Google’s Dremel, Powerdrill and Mesa. Druid excels at finding exactly what it needs to scan for a query, and was built for fast aggregations over arbitrary slice-and-diced data. Combined with its high availability characteristics, and support for multi-tenant query workloads, Druid is ideal for powering interactive, user-facing, analytic applications.”
Yahoo landed on Druid after attempting to build its data applications using various infrastructure pieces, including Hadoop and Hive, relational databases, key/value stores, Spark and Shark, Impala, and many others. “The solutions each have their strengths,” Yahoo wrote, “but none of them seemed to support the full set of requirements that we had,” which included adhoc slice and dice, scaling to tens of billions of events a day, and ingestion of data in real-time.
Another property of Druid that caught Yahoo’s eye was its “lock-free, streaming ingestion capabilities.” The capability to work with open source big data messages busses, like Kafka, as well as working with proprietary systems, means it fits nicely into its stack, Yahoo said. “Events can be explored milliseconds after they occur while providing a single consolidated view of both real-time events and historical events that occurred years in the past,” the company writes.
As it does for all open source products that it finds useful, Yahoo is investing in Druid. For more info, see the Druid website at http://druid.io.
July 6, 2020
- Data Science Team at Columbia to Enhance Probabilistic Programming
- Exasol Announces Partnership with TEKsystems Global Services
- Syniti Addresses Growing Demand with Geographic Expansion of Europe, Africa to include Middle East Team
July 2, 2020
- Anaconda Releases 2020 State of Data Science Survey Results
- Big Data Analytics Among Top Three Deployment Priorities for Enterprises, Says Frost & Sullivan
- Informatica Acquires Compact Solutions
- Confluent Announces Infinite Retention for Apache Kafka in Confluent Cloud
- BP Invests $5M in Geospatial Analytics Software Company Satelytics
- Data Visualization Gets Artificial Intelligence Boost with $5M NSF Grant
- LSU CS Professor Studies COVID-19 Disparities on Social Media
July 1, 2020
- OmniSci Powers New Website Enabling Public to View House-by-House Information On Flint Water Crisis
- Aerospike Adds New Partners to Meet Growing Demand in APAC Region
- Informatica, The ADAPT Research Centre Collaborate to Accelerate AI Research, Development
- Huawei’s Data Virtualization Engine openLooKeng Goes Open Source
- Zoic Labs Creates Interactive Data Visualization Tool, Connecting Scientists with COVID-19 Research Data
- Noodle Partners and Stevens Institute of Technology Address Shifting Demand with Online Programs
- Decisions, NLP Logix Partner to Deliver Machine Learning Capabilities to Business Process Management
- UMass Amherst Awarded Federal Grants to Support Research to Improve Pandemic Forecasting
- Yellowbrick Makes Cloud Disaster Recovery Service, New Features Generally Available
June 30, 2020
Most Read Features
- Big Data File Formats Demystified
- Nvidia Destroys TPCx-BB Benchmark with GPUs
- How to Build a Better Machine Learning Pipeline
- BI Tools — Are They Enough to Build a Data-Driven Culture?
- How COVID-19 Is Impacting the Market for Data Jobs
- Databricks Brings Data Science, Engineering Together with New Workspace
- Understanding Your Options for Stream Processing Frameworks
- SAS Provides Big Data Solutions for… Bees?
- What Is a Data Cloud? And 11 Other Snowflake Enhancements
- MongoDB Steps Up Game with MongoDB Cloud
- More Features…
Most Read News In Brief
- New Report Ranks Countries by COVID-19 Safety
- Spark 3.0 Brings Big SQL Speed-Up, Better Python Hooks
- IBM Brings Back a Netezza, Attacks Yellowbrick
- New Map Shows Hundreds of Counties in the COVID-19 Endgame — and Thousands on the Uptick
- Blurred Lines: SAS and Microsoft To Go Deep in Analytics Partnership
- U.S. Special Ops Launches $600M Analytics Effort
- NIH Launches Massive Initiative for COVID-19 Patient Data Analytics
- War Unfolding for Control of Elasticsearch
- AWS Upgrades SageMaker Labeling Tool
- Nebula Graph Joins Database Race
- More News In Brief…
Most Read This Just In
- HSBC Joins Data Privacy Firm Privitar’s Series C Financing Round with $7M Investment
- D2iQ Unveils KUDO for Kubeflow to Accelerate Enterprise-Grade Machine Learning on Kubernetes
- SAS Debuts Tools to Gauge Risks and Impacts of Reopening
- The Linux Foundation Cloud Engineer Bootcamp Announced
- Databricks Introduces Delta Engine, Acquires Redash
- Technology Aims to Provide Cloud Efficiency for Databases During Data-Intensive COVID-19 Pandemic
- Cloudera Debuts its Cloudera Data Platform Private Cloud
- Alation Launches Data Governance Initiatives
- New Actian Vector for Hadoop Enables Real-time and Operational Analytics
- MariaDB Announces the General Availability of MariaDB Community Server 10.5
- More This Just In…