HTTP server & framework benchmarks

scotty benchmark results

scotty 0.22 is a haskell web framework. At concurrency 64 it serves 115 581 requests per second with a P50 latency of 0.38 ms, ranking 127 of 383 overall and 1 of 2 among haskell frameworks.

Throughput, latency & reliability

All measured metrics for scotty 0.22, by concurrency level.
MetricConcurrency 64Concurrency 256Concurrency 512
Requests / second115 581104 645100 591
P50 latency0.38 ms2.07 ms3.52 ms
P75 latency0.55 ms2.83 ms4.89 ms
P90 latency1.12 ms3.55 ms10.51 ms
P99 latency1.40 ms4.29 ms11.38 ms
P99.999 latency3.01 ms12.45 ms210.05 ms
Average latency0.56 ms2.46 ms5.12 ms
Minimum latency0.07 ms0.05 ms0.07 ms
Standard deviation0.37 ms1.02 ms6.50 ms
Total requests1 733 7761 569 8581 509 183
Bytes received254.15 MB230.14 MB221.18 MB
HTTP errors000
Request timeouts000
Socket connection errors000
Socket read errors000
Socket write errors000

Position in this benchmark

Position of scotty on requests per second.
ConcurrencyOverallAmong haskell frameworks
64127 of 3831 of 2
256136 of 3831 of 2
512141 of 3831 of 2

Badge for your README

Show the rank of scotty in your README. The image is updated together with the results.

web frameworks benchmark: #127 of 383

[![Web Frameworks Benchmark](https://web-frameworks-benchmark.vercel.app/frameworks/haskell/scotty/badge.svg)](https://web-frameworks-benchmark.vercel.app/frameworks/haskell/scotty/)

web frameworks benchmark: #1 of 2 in haskell

[![Web Frameworks Benchmark](https://web-frameworks-benchmark.vercel.app/frameworks/haskell/scotty/badge-language.svg)](https://web-frameworks-benchmark.vercel.app/frameworks/haskell/scotty/)

Explore haskell frameworks

Fastest haskell frameworks at concurrency 64.
# Framework Requests / second P50 latency P99 latency HTTP errors
2 servant 0.20 63 936 0.99 ms 1.23 ms 0

All 2 haskell frameworks