Challenges Running Planet-Wide Computer: Efficiency
summary
Autopilot reduces median memory slack from ~60% to under 20% by automatically adjusting container limits, cutting fleet cost while maintaining reliability — an example shows automation could have prevented a two-hour outage by increasing memory earlier. Key tools and fixes: Autopilot vertical and horizontal autoscaling with unified targets to avoid feedback loops, readiness signals to ignore costly initialization CPU samples, and Java workarounds for JIT/GC and static Xmx. Cost-saving practice: colocate batch on serving via overcommit with evictions for reclaimed resources.
AI-written summary · about
chapters (10)
- 0:00Introduction to efficiency
- 1:34What planet-wide efficiency means
- 4:04Running services in internal cloud
- 12:49Manual limits and task sizing
- 13:59Auto scaling solutions
- 17:57Vertical vs horizontal scaling
- 23:21Java-specific auto scaling challenges
- 29:26Operational challenges with auto scaling
- 31:36Reclaiming memory and overcommit
- 38:28Big picture and future vision
