January 2018
Intermediate to advanced
366 pages
9h 7m
English
Apache Benchmark is better known as AB, and that's what we'll call it.
AB runs from the command line and is very useful to prove the speed and response of endpoints.
Running a local performance test is very simple, as can be seen in the following example:
$ ab -c 100 -n 10000 http://localhost:5000/
The preceding command line invokes AB to run 10,000 requests (-n 10000), simulating 100 concurrent users (-c 100), and calling the local route in door 5,000 (http:// localhost: 5000/). The displayed result will be something like the following screenshot:

The result shows the server that performed the processing (Werzeug / 0.12.2), ...
Read now
Unlock full access