HttpArena
Frameworks

uio-ws

Experimental · Go · engine: uio · standard configuration

uws WebSocket echo on uio: the RFC 6455 handshake and frame parser run in the connection's own I/O task on uio's edge-triggered event loops, one per CPU, so each message is parsed from the buffer its task read into and echoed from that task with no goroutine per connection; a read round's replies leave coalesced in one sendmsg, and a send the socket refuses is finished by the next write turn without pausing the read. A SO_REUSEPORT listener group puts each upgrade on the loop that runs its connection. uio defaults otherwise.

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, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
WebSocket11 of 212484

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
WebSocketEcho5123,460,527147us260us6561.1%47MiB
WebSocketEcho4,0963,693,0551.10ms13.20ms6521.8%73MiB
WebSocketEcho16,3843,578,5484.53ms48.00ms6522.0%156MiB
WebSocketEcho Pipelined51251,867,254157us269us6391.1%50MiB
WebSocketEcho Pipelined4,09654,415,8461.16ms17.50ms6564.5%73MiB
WebSocketEcho Pipelined16,38452,468,6754.87ms56.90ms6191.0%163MiB
WebSocketEcho Short-lived5121,869,683181us776us5782.4%66MiB
WebSocketEcho Short-lived4,0962,034,0531.33ms12.00ms5632.3%100MiB

Compared with

The Go entries around uio-ws on the WebSocket composite, and the one leading them. The last column shows every profile side by side.

EntryCompositevs uio-ws
fnet-ws2717+9%head to head
fib2524+2%head to head
fiber1564-37%head to head
go-websocket257-90%head to head

Compare uio-ws with any Go entry · Compare uio-ws with any entry, in any language · Every Go entry, ranked

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