~/talk

Scaling: from 0 to 25 million users

linkedin:jstuhli
slides:none on file

A concrete scaling path: 28M monthly users, >400B requests/month and a 1.6M req/s peak drive specific moves — introduce Varnish request coalescing, shard caches, push proactive workers to prefill hot pages, move cache off AWS to rented bare‑metal for a 10x traffic‑bill drop, and migrate data from Mongo to Postgres 1M qps benchmark for stability. Observability uses Grafana/Prometheus and lightweight APM; analytics run in ClickHouse 1.4T rows and NATS for 500k msgs/s real‑time.

AI-written summary · about

  1. 0:00Introduction to scaling journey
  2. 2:29Early caching and cache stampede
  3. 7:48Moving to the cloud with AWS
  4. 10:20Switching from NoSQL to PostgreSQL
  5. 13:52Database migration challenges
  6. 17:53Caching and cache invalidation
  7. 20:25Migrating off the cloud to on-prem
  8. 23:20Cost efficiency and trade-offs
  9. 26:14Custom observability and monitoring
  10. 31:55Global caching and latency reduction
  11. 34:23Kubernetes and multi-region setup
  12. 36:30Data analytics with ClickHouse
  13. 37:55Real-time updates with NATS
  14. 39:01Key takeaways 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.