~/talk

Use Python to process 12mil events per minute and still keep it simple (Talk)

Talkat EuroPython 2015 · 2015-07-20..07-26· [python, data-visualization]
github:dimateod
slides:none on file

Claims handling 12 million requests per minute using small four‑core AWS instances, built around reads nginx access log as a durable queue, and implemented in Python 3 and Cython with multiprocessing queues and simple on‑disk binary file offsets and a binlog for exactly‑once recovery. Measured throughput hits about 20k req/s per instance, cluster of ~15 VMs serves peaks, Cython doubles single‑node performance, fsync on AWS EBS causes rare 0.1–25s stalls that must be mitigated for safe persistence.

AI-written summary · about

  1. 0:00Introduction
  2. 0:27What is an advanced
  3. 1:14The problem
  4. 1:29What is 10k
  5. 2:47Data consistency
  6. 3:34The idea
  7. 4:17Data flow diagram
  8. 5:07Parser
  9. 6:28Admin
  10. 8:10Stability
  11. 8:28Offsets
  12. 9:05Multiprocessing
  13. 9:48catastrophic crash
  14. 10:22performance
  15. 11:00experience
  16. 11:54Observer
  17. 12:49Maintenance
  18. 13:55Loss
  19. 16:40Questions
~/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.