~/talk

Capacity vs Efficiency: Building a Globally Scalable Cloud Database

Talkat SREcon22 Asia/Pacific · 2022-12-07..12-09· [databases, cloud-infrastructure]
links:none on file
slides:none on file

Google Cloud Firestore runs as a fully scalable pay-per-request NoSQL database and the operational claim is that efficiency comes from shrinking paid idle capacity while still surviving sudden spikes. Key tactics: convert sync to async to remove thread bottlenecks, align autoscaler signals, use dual-window autoscaling and short startup VMs, publish the 555 rule (start 500 RPM, every 5 minutes +50), spread across many zones to reduce N+1 overhead (2 zones makes +1 a 50% waste, 5 zones makes it 20%), run batch work on spot instances, apply load shedding and QRS with a stride scheduler for per-customer CPU isolation, and budget headroom against P95/P99 targets.

AI-written summary · about

  1. 0:00Intro
  2. 2:14Case Study: Google Cloud Firestore
  3. 4:08Autoscale Everything
  4. 5:30Autoscaling Signals
  5. 6:50Traffic Patterns
  6. 9:41Choosing Your Headroom
  7. 11:31Stockout Resilience
  8. 13:16Provisioning For Failover
  9. 15:32Tuning The Autoscaling
  10. 19:41Load Balancing
  11. 21:18Probability Distributions
  12. 22:14Efficient Failovers
  13. 24:43Batch Traffic
  14. 25:52Finding The Right Shape
  15. 26:53Bigger Is Better
  16. 29:22Resource Tradeoffs
  17. 30:56Overload And Efficiency
  18. 32:12Understand Your Limits
  19. 33:49Loadshedding
  20. 35:45Quality Of Service
  21. 36:45Fairness Under Overload
  22. 38:06The Efficiency Formula
~/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.