~/talk

Scaling: from 0 to 25 million users

Talkat DevOps Barcelona 2024 · 2024-11-14..11-15· [web-performance, databases]
linkedin:jstuhli
slides:none on file

SofaScore grows to 28 million monthly active users with 1.4 PB/month and 400 billion requests, peaking at 1.6M req/s, and scales by baking a multi-layered HTTP cache using varnish, sharding by URL, and running 50–100k purges per minute to reach a 99.5% cache hit; stack choices move from MongoDB (replication and locking issues) back to PostgreSQL, use ClickHouse for analytics, NATS for realtime pub/sub, Kubernetes and Longhorn on bare metal, and a hybrid failover to cloud — net result: 10x lower network costs and stable production at scale.

AI-written summary · about

  1. 0:00Introduction to Sofascore
  2. 1:38Early scaling challenges
  3. 3:52Proactive caching strategies
  4. 5:11Surviving massive traffic
  5. 7:26Cloud migration and Varnish
  6. 10:24Database evolution
  7. 12:52Database migration lessons
  8. 14:45Asynchronous architecture
  9. 16:06Advanced caching techniques
  10. 17:35HTTP caching headers
  11. 19:48Moving to bare metal
  12. 22:39Infrastructure efficiency
  13. 25:22Traffic spikes and monitoring
  14. 26:50Performance optimization
  15. 28:44Global latency and edge routing
  16. 30:22Data center resilience
  17. 32:54Kubernetes on bare metal
  18. 35:14Real-time updates with NATS
  19. 37:12Analytics at scale
  20. 39:45Conclusion and Q&A
~/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.