Skip to content
StackDecode
System Design
16. Performance EngineeringAnimated

Performance Benchmarking

Measuring how fast a system is under defined conditions.

The idea

Run repeatable tests with realistic data and record latency percentiles and throughput.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

AppsCollectorMetrics (Promet…Logs (Loki)Traces (Tempo)Dashboards
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Apps emit metrics, logs and traces.

step:
1/4
at:
Apps
1/9

The green dot is a request moving through the system.

Step by step

  1. 1Define the scenario and metrics
  2. 2Warm up the system
  3. 3Run the test
  4. 4Compare against a baseline

Where it is used

Before and after optimisations.

Watch out for

Benchmarks on unrealistic data mislead.

Related