
Investigated why our lightly-loaded #FastAPI service needed 10 replicas. Optimized from 80 to 9000 RPS locally 🚀
The culprits?
- Sentry SDK caused 3.5x slowdown
- Sync dependencies (simple functions, no IO) caused 30x slowdown 😱
Still can't believe the numbers are real! #Python