~/talk

Detecting Events on the Web with Java, Kafka and ZooKeeper

slides:none on file

Built a JVM cluster that ingests matched mentions into Apache Kafka and runs per-query in-memory spike detection for ~130,000 active queries (about 18M mentions/day for those queries), electing a worker per query via ZooKeeper leader election. Workers snapshot compacted state to HBase snapshots (≈0.3–0.4 MB/query) so failover loses only seconds, and emit detected events to a Kafka topic. Database triggers (pgq) and a Java consumer orchestrate enable/disable; adaptive backoff prevents overload, and the pipeline proves operational in production.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 1:09Company and problem overview
  3. 9:58Why we chose Kafka
  4. 14:10Detecting spikes in real time
  5. 18:28Scaling with leader election
  6. 21:12ZooKeeper for coordination
  7. 24:21Handling long-running jobs
  8. 27:31Event processing pipeline
  9. 27:52Creating meaningful alerts
  10. 31:01Future plans and summary
~/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.