Why Google built Dremel and what it promised

video locked
Enroll to watch

9 mins

Chapters
About
Discussion0
Notes
Be the first to start a conversation!

Dremel is the system inside Google BigQuery that lets product managers and CXOs query petabytes of data interactively.

Earlier, a query ran as MapReduce on the Google File System and took minutes, hours or days. A product manager asked an engineer to write the job, waited two or three hours for the answer, and waited one more hour to change a filter.

Dremel was built to give five things:

  1. Interactive analytics. A filter is changed and the answer comes in tens of seconds.
  2. Short response times. Trillions of records are scanned in tens of seconds.
  3. SQL queries, in 2010, when NoSQL was at its height. Product managers and data analysts are comfortable with SQL.
  4. Columnar storage. A table is stored column after column, so a search on the city reads the city column alone.
  5. Fast aggregations, a sum or a count, with near linear scalability. More nodes take a higher load and latency stays flat.

Borg inspired Kubernetes, the Google File System inspired Hadoop, and Dremel inspired Apache Impala and Apache Parquet.