A Node.js web server with severe event loop blocking challenges, for use with Snyk's SRE practical exercise.
$ git clone git@github.com:snyk/sre-exercise-sample-app.git .
$ npm install
The server can be started by running bin/start
after installation.
Set the port to listen on by specifying PORT
on the environment (defaults to 3000
).
A Dockerfile is also included.
Run bin/blast
to generate a lot of traffic against the various routes of this server, using Apache Bench.