~/talk

Building Scalable Caching Systems via McRouter

Talkat @Scale 2014 · on Monday, 2014-09-15· [web-performance, devops-and-delivery]
links:none on file
slides:none on file

McRouter is a memcached protocol router that Facebook, Instagram and Reddit use in production; Facebook routes over four billion cache ops per second and Instagram over 100 million, and the project is open source today. It implements connection pooling to reduce O(nT) TCP connections to O(n), prefix-based pool partitioning for heterogeneous workloads, automatic failover* with periodic probes and delete spooling for consistency, cold-cache warmup, shadow testing; Reddit integrates via ZooKeeper and Ubuntu packages and validates at a 4,200 ops/s cluster before scaling up.

AI-written summary · about

  1. 0:00Intro
  2. 0:44The Social Graph
  3. 1:28Dynamically Rendering the Graph
  4. 1:54Caching @ Facebook
  5. 2:42Caching @ Instagram
  6. 3:27Cache is a performance necessity
  7. 3:37No longer just an optimization
  8. 4:01pre mcrouter
  9. 4:51Enter mcrouter
  10. 6:48Connection Pools Problem Too many connections can Overload a server
  11. 7:15Heterogeneous Workloads
  12. 7:59Automatic Failover
  13. 9:31Common Evolutionary Path
  14. 10:15reddit infrastructure
  15. 11:01Testing new instance types takes time Performance issues will be visible to users
  16. 11:21Pool modification requires downtime
  17. 11:52Reheat time 16 hours and counting...
  18. 12:22Integration
  19. 13:12Not a silver bullet
  20. 14:02The Future
~/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.