Generating load
There are very few applications that don't behave differently when they come under load. To be able to investigate how the system will react when put under expected or even extreme load, we use load generators.
It's nearly impossible to mimic all the different use cases and their individual usage. Therefore, the load tests are often limited to 10 or 20 selected use cases. Some of them should be the most common ones, and some known or suspected trouble makers.
It's often tempting to limit the tests to read-only ones to minimize the trouble of setting up a database with a known state before each execution. This may be okay in some cases, but be prepared to add read-write tests at some stage before entering production in order to reach ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access