Best Practices – Performance Efficiency
This page provides an overview of all best practices for the Performance Efficiency pillar. Best practices supplement the controls with concrete implementation guidance, Terraform examples, and typical anti-patterns.
Overview
| Best Practice | Description | Related Controls |
|---|---|---|
How to select instance types based on metrics and document sizing decisions. |
WAF-PERF-010 |
|
How to configure, test and monitor auto-scaling for stateless workloads. |
WAF-PERF-020, WAF-PERF-080 |
|
How to build a multi-layer caching strategy with Redis, CDN and application cache. |
WAF-PERF-030 |
|
Slow query analysis, index strategies and Performance Insights for relational databases. |
WAF-PERF-040, WAF-PERF-090 |
|
How to integrate load tests with k6 into the CI/CD pipeline and define acceptance criteria. |
WAF-PERF-060 |
|
How to define SLOs, instrument SLIs and manage error budgets. |
WAF-PERF-050, WAF-PERF-100 |
|
CDN configuration, VPC endpoints and network topology optimization. |
WAF-PERF-070 |
Recommended Order
For organizations just getting started with Performance Efficiency:
-
Performance Observability & SLOs – Measure first. Without SLOs and metrics, all other best practices are blind.
-
Optimize Database Performance – Database optimization typically has the highest impact per unit of time.
-
Configure Auto-Scaling – Set up and validate elasticity for variable loads.
-
Implement Caching Strategy – Eliminate redundant database accesses through caching.
-
Load Tests & Stress Tests – Integrate performance validation into the deployment process.
-
Compute Sizing & Instance Selection – Optimize instance types based on measured data.
-
Optimize Network Performance – Reduce network latency and optimize routing.