HttpArena
Frameworks

fasthttp

Engine · V · engine: epoll

fasthttp is a raw multi-threaded epoll HTTP server in V's standard library (non-blocking, SO_REUSEPORT, one worker per core). It uses fasthttp's zero-copy append handler (write the raw response straight into the connection's reused buffer), lock-free per-worker state (make_state), deterministic request framing that reassembles TCP-fragmented AND chunked requests (so baseline is now subscribed), and sendfile(2) for static bodies. JSON is built in a single allocation with precomputed prefixes (no per-request reflection); json-comp gzips on Accept-Encoding with a process-shared cache; static assets are streamed via sendfile with a preloaded MIME/size table; crud is an in-memory cache-aside (X-Cache MISS/HIT, invalidated on update); fortunes renders the DB rows + a runtime row with HTML escaping; async-db/crud/fortunes use the stdlib db.pg pooled Go-style DB (blocking queries on the worker thread — fasthttp has no async watch reactor yet). Built on pinned V master 84a76d791 (the fasthttp vanilla-architecture refactor, vlang/v#27771) with the default GC (Boehm). json-tls is not subscribed: the stdlib fasthttp server has no TLS backend.

Composite rank

Each profile of a family is worth 100 to the entry that leads it, and the composite is the sum over the family. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
HTTP/1.116 of 34159

Every result

Alpha Round, 20 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline5122,984,044171us1.79ms6063.0%378MiB
ConnectionBaseline4,0963,271,4791.25ms7.03ms5909.8%594MiB
ConnectionPipelined51235,845,795228us3.22ms6743.3%163MiB
ConnectionPipelined4,09635,926,6401.83ms7.40ms6462.1%330MiB
ConnectionShort-lived5122,156,962224us1.73ms5574.7%555MiB
ConnectionShort-lived4,0962,516,7071.56ms7.44ms5604.9%941MiB
WorkloadJSON4,0962,175,3381.16ms8.48ms6182.2%748MiB
WorkloadJSON Comp5122,028,583141us1.09ms6050.6%366MiB
WorkloadJSON Comp4,0962,467,5211.34ms8.74ms6202.5%772MiB
WorkloadJSON Comp16,3842,369,0436.39ms23.50ms6000.7%1.3GiB
WorkloadUpload321,53420.86ms130.50ms1659.9%6.5GiB
WorkloadUpload256862154.52ms2.56s1059.6%7.8GiB
WorkloadStatic1,024872,9771.81ms105.70ms6472.8%243MiB
WorkloadStatic4,096941,0995.01ms148.10ms6217.2%440MiB
WorkloadStatic6,800945,5327.41ms117.71ms6250.6%532MiB
DatabaseAsync DB1,0246,428157.61ms562.60ms5571.6%3.3GiB
DatabaseCRUD4,096-0us0us0.0%0MiB
DatabaseFortunes1,0241852.46s5.00s1375.7%301MiB
Multi-endpointAPI-425638,5685.27ms33.20ms394.1%3.2GiB
Multi-endpointAPI-161,02416,63160.92ms319.10ms1771.0%3.7GiB

How the benchmark is run · The machine · Add or fix an entry