Skip to content
A Node.js web server with severe event loop blocking challenges, for use with Snyk's SRE practical exercise.
JavaScript Shell Dockerfile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore: codeowners -> infra Oct 8, 2019
bin fix: better shebang for traffic generation script Apr 9, 2019
lib Initial commit Apr 5, 2019
.dockerignore Initial commit Apr 5, 2019
.gitignore Initial commit Apr 5, 2019
Dockerfile Initial commit Apr 5, 2019
README.md Initial commit Apr 5, 2019
index.js Initial commit Apr 5, 2019
package-lock.json Initial commit Apr 5, 2019
package.json Initial commit Apr 5, 2019

README.md

Block Town

A Node.js web server with severe event loop blocking challenges, for use with Snyk's SRE practical exercise.

Installation

$ git clone git@github.com:snyk/sre-exercise-sample-app.git .

$ npm install

Running the server

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.

Generating traffic

Run bin/blast to generate a lot of traffic against the various routes of this server, using Apache Bench.

You can’t perform that action at this time.