Apache Pinot
Fasih Khatib / fasih@startree.ai
powering real-time analytics
Outline
What is real-time analytics?
Real-time analytics is all about going from event to action as quickly as possible.
💥
💭
🏃➡️
Event
Insight
Action
Real-time analytics is all about going from event to action as quickly as possible.
💭
🏃➡️
Buy
Find the trending product
Make sure it is in stock
Why real-time?
Analytics quadrant
What is Apache Pinot?
“Apache Pinot is a realtime, distributed, OLAP database built for low-latency, high-throughput analytics.”
Realtime
The amount of time taken to execute a query.
As low as 10ms.
The ability of the system to handle multiple queries simultaneously.
As high as 100k QPS.
The up-to-date nature of data in the system.
Seconds from event-time till queryable in Pinot.
Latency
Concurrency
Freshness
Distributed
OLAP
Transaction-focused.
Aggregation-focused.
Write-heavy workloads.
Read-heavy workloads.
Often involves a single row per operation.
Often involves many records in one operation.
OLTP
OLAP
Use cases
Getting started with Pinot
Data Model
Architecture —
Tables and Segments
Tables
Segments
Architecture — Cluster
Cluster
Controller
Broker
Server
Minion
Ingestion —�Batch and Realtime.
Batch Ingestion
Streaming Ingestion
Querying
Querying
Single-stage Query Engine
Multi-stage Query Engine
Demo