• Stars
    star
    355
  • Rank 119,764 (Top 3 %)
  • Language
    Clojure
  • Created almost 12 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Clojure web benchmarks

Clojure web server benchmarks

This is a collaborative repo maintained with the participation of a number of contributors. Thanks to everyone for making this possible!

Latest benchmark configuration

  • Benchmarking with wrk2.
  • Server response length: 1163 bytes (servers/index.html).

The particular server hardware, wrk2 config, and server versions will vary between each result set.

Latest results

There is no such thing as a one-size-fits-all benchmark. Results will vary dramatically based on your server hardware and the kind of workload you're testing.

Results are organised into named benchmarking profiles that determine wrk2 config:

Profile Description
1k-keepalive 32β†’1024 conns (keepalive)
1k-non-keepalive 32β†’1024 conns (non-keepalive)
60k-keepalive 10k→60k conns (keep-alive)
60k-non-keepalive 10k→60k conns (non-keepalive)
Legacy results Everything before benchmarking profiles were introduced.

Running benchmarks yourself

Clone this repo locally, then run start-here.sh in the repo root.

Server links (alphabetically)

Contact & contribution

Welcoming pull requests for:

  • Additional web servers.
  • Updated servers (no snapshot releases please).
  • Server / bench config tuning!

If you are submitting a pull request to update results

  1. Please target your PR towards a branch with your GitHub user name.
  2. Please try to include graph/s when possible. We're looking mostly for relative numbers here so it's not a big deal if the hardware changes between PRs, so long as it's documented and mentioned in any graphs.
  3. Please try ensure that all servers being benchmarked have a reasonable configuration for your hardware environment. This is especially important if your hardware environment is unusual (e.g. fewer/more cores than usual). If you're unclear on how to adjust some server's configuration for your environment, feel free to open an issue to check that the config you're proposing seems solid to interested maintainers.

If you have any questions, you can reach me at taoensso.com, or the other contributors through the issues page.

/ Peter Taoussanis (@ptaoussanis)