System Design
16. Performance EngineeringAnimated
Spike Testing
Sudden jumps in load.
The idea
Test how the system copes with abrupt traffic surges, such as a sale.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Scale the app tier by adding identical instances.
- step:
- 1/4
- at:
- Load balancer
1/8
The green dot is a request moving through the system.
Step by step
- 1Run at normal load
- 2Spike suddenly
- 3Measure errors and latency
- 4Watch scaling reaction
Where it is used
Flash sales and events.
Watch out for
Auto scaling may react too slowly.