~/talk

The Billion-Request Content Recommendation System Challenge

Talkat PyData NYC 2023 · 2023-11-01..11-03· [microservices, machine-learning]
links:none on file
slides:none on file

Claim: a recommendation API that scales to ~1.3 billion pageviews per day and shifts heavy work to background to cut median latency from ~2s to milliseconds and max from ~27s to ~1s. Architecture uses webq worker queueing with RabbitMQ, a Redis cache called the Rex store, batch embeddings via sentence Transformer, and load testing with Vegeta. Built components include candidate refresh cron jobs and customizable URL params; results show high cache hit rates and substantial real traffic performance gains.

AI-written summary · about

  1. 0:00Billion-request challenge intro
  2. 1:14Engineering over algorithms
  3. 2:17Content recommendation challenges
  4. 5:50Recommendations at Chartbeat
  5. 9:01WebQ worker architecture
  6. 12:15Client-side API efficiency
  7. 16:09Recommendation cache store
  8. 18:12Cache key identity problems
  9. 23:32Load testing engine
  10. 32:02Key takeaways
~/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.