Beyond Metrics and Traces: Using Continuous Profiler for Low-level Optimization
summary
Uses Continuous Profiler on a large Ruby monolith (Sidekick workers) to find and fix low-level issues: discovers anonymous-class churn from dry-types and memoizes class creation, cutting Heap live size from ~3.5M objects to ~1.99M and reducing pod restarts and latency; identifies excess dup allocations (5.25M → ~423 allocations) that shave ~20% CPU on affected workers and drop GC time from ~12% to ~10%, yielding lower cost and fewer outages.
AI-written summary · about
