~/talk

Postmortem: Evolution of an Event recording solution

Talkat PyOhio 2016 · 2016-07-30..07-31· [data-engineering, databases]
slides:none on file

Company needs per-user event logs so a lightweight on-host system is built: Tornado web processes spawn a multiprocessing ZeroMQ pub/sub worker that batches messages and performs batched INSERTs to Postgres every second. The design avoids Kinesis/Lambda and external vendors, records GET/POST, click payloads, user and org IDs, and logs status codes. Durability is best-effort (no broker or disk queue), which is acceptable for analytics, and a quick test handles 10,000 events in 1.5s on one box.

AI-written summary · about

  1. 0:00Intro
  2. 0:19About Me
  3. 1:02Problem Statement
  4. 1:38Won't work for us
  5. 3:15Our Environment
  6. 4:05Commercial Solutions
  7. 5:33Log Parsing
  8. 6:37Bad Idea
  9. 7:18Our First Design
  10. 8:12How to implement
  11. 10:48How does Python Triton Work
  12. 11:14Wait a minute... Zero MQ?
  13. 13:05How does ZeroMQ work?
  14. 17:30Let's build a simpler solution
  15. 23:59The Client
  16. 25:36Start the Worker Process
  17. 26:36Talk about scalability
  18. 28:34Conclusions
  19. 31:58Questions?
~/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.