Skip to main content

app

Static web server inactive​

Serving smaller (1-65 kb) and larger (256-512 kb) files using a static HTTPHTTP: Hypertext Transfer ProtocolThe request-response protocol of the web, in which a client asks a server for a resource by URL and gets back a status code, headers, and a body. HTTPS is HTTP over an encrypted connection.MDNGlossary server (binservebinserveAn open-source static web server written in Rust, distributed as a single binary and configured with one JSON file. It maps URL routes to files and directories, can keep files cached in memory, and can also serve encrypted connections and list directory contents.binserve on GitHubGlossary), and benchmarking each workload (wrkwrkAn open-source HTTP benchmarking tool written in C. It generates load from a few threads, each handling many open connections through an event loop, and reports latency and requests-per-second statistics. Lua scripts can customize the requests it sends and process the responses.wrk on GitHubGlossary) using variable number of threads and connections on the same server.

Benchmark details

Benchmark ID
app:static_web
Unit of measurement
rps
Server types evaluated
—
Total measurements
—
Range of measurements
—
Better
↑ Higher is better

Configuration options

FieldDescriptionExample values
threadsTotal number of threads used by wrk.—
connectionsTotal number of HTTP connections kept open by wrk.—
framework_versionVersion number of both binserve and wrk.—