Sentry·
How one quadratic webhook handler pinned our autoscaler at its ceiling
TL;DR
Sentry’s shared RPC service kept hitting its 256-pod autoscaling limit because three GitLab integration bugs combined to turn a single webhook into potentially millions of internal calls. After weeks of infrastructure tuning, engineers broke traffic down by RPC method, traced the surge to repeated installation lookups, and patched the code. Average pod usage fell from about 150 to 42—a 72% reduction—though a separate autoscaling issue remained unresolved.
Relevant links
- Gabriel Villalobosblog.sentry.io
- Removing risk from our multi-region design with simulationsblog.sentry.io
- KEDAkeda.sh
- Graniangithub.com
- HPA scaling behavior settingskubernetes.io
- GitLab integration docsdocs.sentry.io
- Engineeringblog.sentry.io
- Try Sentry Free →sentry.io
- Naming is hard, semantics are hard(er): Inside Sentry Conventionsblog.sentry.io
- We have a Slopware Factoryblog.sentry.io
- MCP or CLI? Yes.blog.sentry.io
- Listen To Syntaxsyntax.fm