~/talk

Log Events @ Twitter: Challenges of Handling Billions of Events per Minute

Talkat Systems @Scale Fall 2021 · 2021-10-13..10-27· [data-engineering]
links:none on file
slides:none on file

Pipeline scales to 5 billion events per minute and tens of petabytes per day by replacing Scribe with Apache Flume plus memory, micro‑batching and service‑disintegration optimizations to eliminate CPU/memory/disk bottlenecks so network is the limiter. Hourly HDFS + MapReduce processing moves to DAGs with Apache Beam + Google Dataflow/Tez and dynamic hash partitioning, plus data tiers and aggregator groups for per‑dataset scaling. A streaming path writes to Google Pub/Sub and BigQuery streaming ingest, cutting end‑to‑end latency from hours to seconds or sub‑second for small workloads.

AI-written summary · about

  1. 0:00Event log pipelines at Twitter
  2. 1:08Scale of the event log pipeline
  3. 2:12Original architecture limits
  4. 3:55Aggregation layer scaling
  5. 5:44Optimizing Flume throughput
  6. 6:49Data tiers and grouping
  7. 7:54Dynamic aggregator scaling
  8. 9:40Processing bottlenecks and fixes
  9. 11:27Migrating to Tez
  10. 12:51Five billion events per minute
  11. 13:33Reducing end-to-end latency
  12. 14:36Streaming aggregation design
  13. 15:36Stream processing with Beam
  14. 16:41Real-time analytics at scale
  15. 17:44Latency results and use cases
  16. 18:05Future streaming challenges
  17. 18:50Acknowledgments
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.