~/talk

800 mio. IP addresses to coordinates using Kafka Streams #bbuzz

Talkat Berlin Buzzwords 2018 · 2018-06-11..06-13· [data-engineering]
links:none on file
slides:none on file

A Kafka Streams pipeline enriches roughly 800 million events/day by batching IP-to-coordinate HTTP calls with the Processor API transformer and punctuate timer, issuing 250-request bulk lookups every tick. Peak load hits ~2 million events/minute. A Guava in‑memory cache plus reducing punctuate to 100 ms cuts extra processing latency to 30–40 ms. Joining location back into user streams causes huge state retention and cluster churn, so the pipeline writes enriched events directly and uses a circuit breaker to forward originals on failures.

AI-written summary · about

  1. 0:00Intro
  2. 3:16THE PIPELINE
  3. 5:01TARGETED ADVERTISING IN SCHIESTED
  4. 6:54THE LOCATION API
  5. 8:19REQUIREMENTS
  6. 9:36LOCATION API CHALLENGES
  7. 12:57KAFKA CONSUMER GROUPS
  8. 15:18ADDING LOCATION DATA
  9. 15:47SETTING UP THE APPLICATION
  10. 16:52READING THE INPUT #1
  11. 18:55READING THE INPUT #2
  12. 20:03TO REQUEST OBJECTS
  13. 21:17PRODUCING THE OUTPUT
  14. 22:21RECAP: KAFKA STREAMS DSL
  15. 22:43PROCESSOR API
  16. 23:23LOCATION API TRANSFORMER
  17. 26:42JOINING THE STREAMS
  18. 28:01JOIN WINDOWS
  19. 29:25THE LOCATION TRANSFORMER
  20. 29:36LOCATION TRANSFORMER PERFORMANCE
  21. 30:43THE JOIN COMPONENT
  22. 34:42JOIN PERFORMANCE
  23. 35:42AVERAGE CLUSTER SIZES
  24. 37:21CONCLUSION
~/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.