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.
February 28, 2024
- Wasabi’s 2024 Global Cloud Storage Index: Budgets Rise as Enterprises Lean Heavily into Cloud Innovation
- New Relic Launches Live Archives to Eliminate Data Rehydration Problems and Streamline Log Management
- Airbyte Launches 1st Python Library for Data Movement, Providing Access to Hundreds of Data Connectors
- KX Unveils New Enhancements to kdb+, Advancing Data Analytics and AI Integration
- SambaNova Introduces Samba-1, Aiming to Be 1st Trillion Parameter AI Model for Enterprise Privacy and Efficiency
- ServiceNow, Hugging Face, and NVIDIA Release New Open-Access LLMs to Help Build Enterprise Applications
- Exabeam Introduces Transformative Unified Workbench for Security Analysts with Generative AI Assistance
- Alation Broadens Partner Ecosystem with Amazon DynamoDB, Apache Kafka, Confluent Kafka, Elasticsearch, Fivetran, MongoDB, and TIBCO
- H2O.ai Inaugurates GenAI World for Public Sector to Spur Growth and Innovation of Generative AI for Government Departments and Agencies
- Glean Announces Over $200M Series D to Accelerate Secure Deployment of Generative AI in the Enterprise
February 27, 2024
- Ataccama ONE v15 Accelerates Data Quality Transformation for Enterprises
- SAS Partners with Carahsoft to Bring Analytics, AI and Data Management Solutions to the Public Sector
- Arcadia Launches Data Platform to Unlock Speed, Reliability, and Scale for Healthcare Enterprises
- Microsoft and Mistral AI Announce New Partnership to Accelerate AI Innovation and Introduce Mistral Large 1st on Azure
- DiffusionData Offers Free Trial of Diffusion Cloud
- Industry Leaders in AI and Wireless Form AI-RAN Alliance
- Marvell Open Sources OCTEON 10 ML/AI Accelerator Software to Optimize 5G RAN Networks
February 26, 2024
- Grammarly and Harris Poll Find Using GenAI for Communication Could Save Up to $1.6T Annually in US Productivity
- Lenovo Accelerates Telco Transformation with Next-Gen Edge AI Innovations at MWC 2024
- NTT and Red Hat Fuel AI Analysis at the Edge with IOWN Tech
Most Read Features
Sorry. No data so far.
Most Read News In Brief
Sorry. No data so far.
Most Read This Just In
Sorry. No data so far.
Sponsored Partner Content
March 8Stanford CA United States
March 26 - March 27Mountain View CA United States
April 10 - April 11New York United States
April 24 - April 25Las Vegas NV United States
June 5 - June 6Santa Clara CA United States
September 10 - September 12San Jose CA United States