~/talk

Step By Step Guide to Building an Application Analytics System

Talkat Erlang Factory SF Bay Area 2014 · 2014-03-06..03-07· [data-engineering]
links:none on file
slides:none on file

An internal analytics pipeline called WAM ingests events from ~0.5 billion users (roughly 0.5 trillion events/day, ~5 TB/day before compression), stores records in a sparse long format, compresses rotated logs with lz4 (observed ~6:1), and exposes a SQL-like DSL that compiles to C and runs in parallel (GNU parallel) over local files. Schema lives in JSON in git so there is no ETL, histograms and sampling are built in, distinct counts use hyperloglog, and single 32-core nodes reach ~6–10 GB/s.

AI-written summary · about

  1. 0:00Start
  2. 0:30Motivation: mobile application analytics
  3. 1:20Wam: WhatsApp Application Metrics
  4. 10:14You can do it too!
  5. 11:08Application analytics?
  6. 15:53Data model: example 1
  7. 17:20Data model: schema
  8. 18:31Schema management
  9. 19:06Data model: relational interpretation
  10. 19:36Storage format: traditional approaches
  11. 23:12Storage format: wam approach (with RLE)
  12. 23:57Storage: compression
  13. 24:28Storage: basic write cycle
  14. 25:11Query language: example
  15. 25:32Query language: motivation
  16. 26:04Query system: implementation
  17. 26:45Query compiler
  18. 27:39Query system: runtime
  19. 30:04API (protocol)
  20. 30:46DB shell
  21. 31:22Local storage: idea 1
  22. 32:48Local storage: use filesystem as index
  23. 33:13Local storage: application-level indexing
  24. 33:38Local storage: tables
  25. 33:51Distributed storage: simple approach
  26. 36:27References
  27. 37:20Data model: common dimensions
~/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.