Production Optimization
Interview Questions
- How would you investigate a slow production API?
- How do you identify which SQL query is causing the problem?
- How do you measure query performance before optimization?
- How do you prove that an optimization actually worked?
- How would you optimize a query taking 2 seconds?
- How would you decide whether to add an index?
- What if adding an index improves reads but slows writes?
- How does caching change database load?
- When would you use Redis instead of optimizing PostgreSQL?
- Your resume says PostgreSQL performance improved by 60%. Walk me through exactly how you achieved and measured it.