~/talk

High Performance Architecture Of Stack Overflow

Talkat JSConf.Asia 2016 · 2016-11-25..11-26· [devops-and-delivery, databases]
slides:none on file

Claim: a question page renders in 10ms per page while the site handles 1.2 billion page views/month on only nine web servers. Architecture uses C#, SQL Server, Redis, ElasticSearch, an open-source observer dashboard for timing, heavy global/static in-memory caches to avoid GC churn, and a specialized tag index. Build‑measure‑analyze cycles drive optimizations, about four to five deployments per day, storage-heavy servers with many disks, minimal unit testing, and practical tradeoffs (e.g. caching objects to avoid allocation) that make the numbers real.

AI-written summary · about

  1. 0:00Start
  2. 0:46Follow along
  3. 8:04Stack Exchange network (web servers)
  4. 24:51Dependency Injection
  5. 26:17I DON'T ALWAYS TEST MY CODE
  6. 28:35HIRE HACKERS
  7. 28:49BOSS MODE TOOLS
  8. 29:50Conclusion
~/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.