Back
Performance Tuning
Profiling, bottlenecks, and practical optimizations.
Profiling
- Identify p95 bottlenecks via APM.
- Batch external calls and use keep-alive connections.
- Avoid N+1 DB queries with proper joins/loader patterns.
Front-end
- Code-split, prefetch critical routes, optimize images.
- Use HTTP/2 and compress JSON with gzip/br.