benchmark latency and throughput of a stitcher app
| latency | ||
| throughput | ||
| README.md | ||
Benchmark Latency and Throughput of Stitcher
Benchmark Latency
- Have Python installed and the deps : pandas and matplotlib
- Go to
cd latency - Run this in the terminal
./request.sh -o <output_location> -u "<backend_url>" -i <iteration> --no-output
-ospecifies the output folder-ubackend url e.g:http://stitchaton.local-i(optional) specifies the range of the iteration e.g: 1-11 or just 3--no-outputdumb the output to /dev/null
Benchmark Throughput
- Have JMetter installed, download here
- Go to
cd throughput - Run this in the terminal
./request.sh -o <output_location> -H "<backend_ip>" -t <num_of_threads> -l <num_of_loops> -p <optional_port_default5000>
-ospecifies the output folder-Hbackend api without http or port e.g: 10.250.123.123 or stitchapi.local-tnumber of concurrent requests or threads-lnumber of loops of each concurrent requests e.g: 10 threads and 20 loops will result in 200 requests in total-pport number in which the application is served