~/talk

Use counters to count things

Talkat Monitorama PDX 2024 · 2024-06-10..06-12· [observability, data-engineering]
linkedin:redhotpenguin
slides:none on file

Shows a 32‑bit counter overflow hitting exactly 2,147,483,647 rollover and fixed by switching to string formatting, demonstrates a costly log search over petabytes using EMR + SageMaker log scan after rejecting Athena at ~$5/TB (jobs run, die, required two weeks of babysitting but produce the needed counts), compares approaches: cheap 4–8 byte counters that are commutative and associative, naive hash sets, HyperLogLog (~2% error) and a newer coin‑toss sampling algorithm for distinct counts.

AI-written summary · about

  1. 0:00Introduction and counting game
  2. 1:53Meet the speaker Fred
  3. 2:56New Year's Eve incident story
  4. 8:2032-bit integer rollover lesson
  5. 9:27Security incident counting challenge
  6. 13:40Counters vs log scans trade-offs
  7. 17:51Log delivery issues at scale
  8. 18:53Count distinct problem overview
  9. 20:18HyperLogLog explained
  10. 22:44CVM algorithm deep dive
  11. 24:50Q&A and closing
~/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.