Strategies for performance improvement
Improving the performance of a system often requires a diverse approach that addresses various aspects. No silver bullet magically boosts performance. However, some common strategies help engineers navigate the problem to meet the non-functional requirements.
Testing, testing, testing
Performance tests should be conducted continuously and repetitively. When there’s a perceived performance issue, it’s unlikely to know the root cause without running performance tests. Instead of blindly applying “performance fixes,” engineers should execute performance tests to understand the problem first.
Performance tests should be treated as both troubleshooting and discovery tools. There are always bottlenecks in the system that surprise engineers.
Avoiding expensive operations
More often than not, performance issues are caused by a mismatch between the nature of the operations and the actual implementation. In other...