This project tests a Racket web server making many synchronous requests under a hard deadline.
The server accepts a request on the /numbers endpoint with various
?u query parameters. It then performs a GET request on each
endpoint obtaining a JSON list of numbers and aggregates all the
results.
The application must always return a response under 500ms, even if it couldn't get any numbers.
In three separate terminal windows, run:
go run numberserver.goenv PLT_INCREMENTAL_GC=1 racket server.rkt./loadtest.sh targets-flawed results-flawed.bin plot-flawed.html./loadtest.sh targets results.bin plot.html
To find out how to tweak the load test, read vegeta's documentation.
This project was originally created by @zkry.