HttpArena
Frameworks

veb

Engine · V

veb is the web framework in V's standard library, now running on the parallel fasthttp backend (multi-threaded, SO_REUSEPORT epoll, zero-copy append handler). Its deterministic request framing reassembles TCP-fragmented requests and decodes chunked bodies, so baseline is subscribed (the old single-threaded backend could not). JSON responses are built without per-request reflection (precomputed item prefixes + manual serialization); json-comp gzips on Accept-Encoding with a process-shared cache; static assets are served via veb's static handler (sendfile + MIME) mounted at /static/; 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. Built on pinned V master 84a76d791 (the fasthttp vanilla-architecture refactor, vlang/v#27771) with the default GC (Boehm). json-tls is not subscribed: it needs a second TLS listener on :8081 (a separate OpenSSL path) not wired here.

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.133 of 348

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline512106,1474.85ms42.90ms1183.9%519MiB
ConnectionBaseline4,096105,42538.81ms88.80ms1038.6%740MiB
ConnectionPipelined512132,23662.10ms148.20ms1164.6%525MiB
ConnectionPipelined4,096126,275493.45ms755.40ms1033.9%764MiB
ConnectionShort-lived512107,4244.73ms46.70ms1183.2%585MiB
ConnectionShort-lived4,096107,01938.15ms121.20ms993.8%904MiB
WorkloadJSON4,09660,37467.20ms163.80ms1779.5%861MiB
WorkloadJSON Comp51279,1446.46ms49.90ms1738.5%522MiB
WorkloadJSON Comp4,09674,73454.50ms141.50ms3344.3%837MiB
WorkloadJSON Comp16,38473,280214.53ms295.60ms1784.2%1.4GiB
WorkloadUpload3216857.75ms1.78s1525.2%1.6GiB
WorkloadUpload25654.07s4.76s1424.8%2.3GiB
WorkloadStatic1,024111,27712.21ms128.77ms1675.5%564MiB
WorkloadStatic4,096110,74038.14ms138.07ms1648.2%799MiB
WorkloadStatic6,800109,58361.33ms196.62ms1659.1%958MiB
DatabaseAsync DB1,0244,944202.53ms600.10ms1410.8%3.1GiB
DatabaseCRUD4,09662,64465.23ms257.90ms1166.9%2.4GiB
DatabaseFortunes1,0241722.51s4.81s1668.5%359MiB
Multi-endpointAPI-425617,76713.69ms109.40ms381.3%2.5GiB
Multi-endpointAPI-161,02412,01284.28ms454.00ms1134.6%3.5GiB

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