HttpArena

actix

Flagship · Rust · standard configuration · completeness 4/4

Actix-web 4 with rustls for TLS and mimalloc as the allocator. Default worker count, TCP_NODELAY enabled. actix-files serves static content from disk per request via try_compressed(), which selects a pre-compressed .br/.gz sibling by Accept-Encoding through the framework API (no hand-rolled suffix lookup). JSON is serialized per request with serde_json; on json-comp gzip (level 1) is driven in the handler, because actix-web's encoder sends every body over 1 KiB through the blocking pool, and the Compress middleware on that route serves any other encoding. async-db through a deadpool-postgres pool per worker (DATABASE_MAX_CONN split between the workers). fortunes rendered through an Askama template. json-tls and static-tls are served over HTTP/1.1-with-TLS on :8081; baseline-h2/static-h2 over h2 on :8443. Compiled with -O3 and thin LTO.

Achievements

🥇 2 Gold · 🥈 4 Silver · 🥉 2 Bronze. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.

MedalAwardFieldRank
🥇 GoldTest profileConcurrency · CON-1M1 of 6
🥇 GoldTest profileConcurrency · CON-1M-TLS1 of 6
🥈 SilverWithin its languageRust · HTTP/1.12 of 9
🥈 SilverWithin its languageRust · HTTP/22 of 7
🥈 SilverTest profileDatabase · Async DB2 of 8
🥈 SilverTest profileWorkload · JSON TLS2 of 85
🥉 BronzeFamily compositeComposite · Database3 of 8
🥉 BronzeTest profileDatabase · Fortunes3 of 6

Composite rank

Each profile of a family is worth its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - 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
HTTP/1.15 of 885307
HTTP/29 of 341774
WebSocket11 of 312025
Database3 of 81743

Protocol compliance

The conformance suites this entry subscribes to, run against it on the benchmark machine: Http11Probe on HTTP/1.1, h2spec on HTTP/2, h3spec on HTTP/3 and Autobahn on WebSocket. A score, not part of the composite. How it works.

SuiteToolPassedFailed
HTTP/1.1http11probe d50d818143 of 159 (89.9%)16
HTTP/2h2spec 2.6.0144 of 145 (99.3%)1
WebSocket (actix-websocket)autobahn-testsuite 25.10.1105 of 244 (43.0%)139

HTTP/1.1: what failed

TestExpectedGot
COMP-HOST-WITH-USERINFO Host header with userinfo (user@host) must be rejected (RFC 9112 §3.2, MUST)400 or close200, connection left open
COMP-HOST-WITH-PATH Host header with path component must be rejected (RFC 9112 §3.2, MUST)400 or close200, connection left open
COMP-ASTERISK-WITH-GET Asterisk-form (*) request-target with GET must be rejected (RFC 9112 §3.2.4, MUST)400, close, or timeout = warn404, connection left open
COMP-OPTIONS-STAR OPTIONS * is the only valid asterisk-form request (RFC 9112 §3.2.4, MUST)2xx or 405; close/timeout = warn404, connection left open
COMP-METHOD-CONNECT CONNECT to an origin server must be rejected (RFC 9110 §9.3.6, SHOULD)400/405/501 or close404, connection closed
COMP-HOST-EMPTY-VALUE Empty Host header value must be rejected (RFC 9112 §3.2, MUST)400 or close200, connection left open
SMUG-CHUNK-BARE-SEMICOLON Chunk size with bare semicolon and no extension name must be rejected (RFC 9112 §7.1.1, MUST)400 or close200, connection left open
SMUG-CHUNK-EXT-INVALID-TOKEN Chunk extension with invalid token character must be rejected (RFC 9112 §7.1.1, MUST)400 or close200, connection left open
SMUG-CHUNK-SIZE-TRAILING-OWS Chunk size with trailing whitespace before CRLF must be rejected (RFC 9112 §7.1, MUST)400 or close200, connection left open
SMUG-CHUNK-LF-TRAILER Bare LF in chunked trailer termination — server MAY accept bare LF per RFC 9112 §2.2 (RFC 9112 §7.1, MAY)400 or 2xxno response, timed out
SMUG-MULTIPLE-HOST-COMMA Host header with comma-separated values must be rejected (RFC 9110 §7.2, MUST)400 or close200, connection left open
MAL-LONG-HEADER-VALUE 100KB header value should be rejected with 431 (SHOULD)400/431 or close200, connection left open
MAL-INCOMPLETE-REQUEST Partial HTTP request — request-line and headers but no final CRLF (NOTAPPLICABLE)400/close/timeout408, timed out
MAL-EMPTY-REQUEST Zero bytes — TCP connection established without sending any data (NOTAPPLICABLE)400/close/timeout408, timed out
MAL-LONG-METHOD 100KB method name should be rejected (SHOULD)400, 501 or close405, connection left open
WS-UPGRADE-POST WebSocket upgrade via POST must not be accepted (RFC 6455 §4.1, MUST)!101no response, timed out

HTTP/2: what failed

TestExpectedGot
http2/5.1/8 closed: Sends a DATA frame after sending RST_STREAM frameGOAWAY Frame (Error Code: STREAM_CLOSED) or RST_STREAM Frame (Error Code: STREAM_CLOSED) or Connection closedDATA Frame (length:0, flags:0x01, stream_id:1)

WebSocket: what failed

TestExpectedGot
3.1 Send small text message with <b>RSV = 1</b>.The connection is failed immediately (1002/protocol error), since RSV must be 0, when no extension defining RSV meaning has been negotiated.Actual events match at least one expected. / close: The close code should have been 1002 or empty
3.2 Send small text message, then send again with <b>RSV = 2</b>, then send Ping.Echo for first message is received, but then connection is failed immediately, since RSV must be 0, when no extension defining RSV meaning has been negotiated. The Pong is not received.Actual events match at least one expected. / close: The close code should have been 1002 or empty
3.3 Send small text message, then send again with <b>RSV = 3</b>, then send Ping. Octets are sent in frame-wise chops. Octets are sent in octet-wise chops.Echo for first message is received, but then connection is failed immediately, since RSV must be 0, when no extension defining RSV meaning has been negotiated. The Pong is not received.Actual events match at least one expected. / close: The close code should have been 1002 or empty
3.4 Send small text message, then send again with <b>RSV = 4</b>, then send Ping. Octets are sent in octet-wise chops.Echo for first message is received, but then connection is failed immediately, since RSV must be 0, when no extension defining RSV meaning has been negotiated. The Pong is not received.Actual events match at least one expected. / close: The close code should have been 1002 or empty
3.5 Send small binary message with <b>RSV = 5</b>.The connection is failed immediately, since RSV must be 0.Actual events match at least one expected. / close: The close code should have been 1002 or empty
3.6 Send Ping with <b>RSV = 6</b>.The connection is failed immediately, since RSV must be 0.Actual events match at least one expected. / close: The close code should have been 1002 or empty
3.7 Send Close with <b>RSV = 7</b>.The connection is failed immediately, since RSV must be 0.Actual events match at least one expected. / close: The close code should have been 1002 or empty
6.5.1 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0x68656c6c6f24776f726c64The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.5.2 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0x68656c6c6fc2a2776f726c64The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.5.3 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0x68656c6c6fe282ac776f726c64The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.5.4 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0x68656c6c6ff0a4ada2776f726c64The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.5.5 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdb9cf83cebcceb5The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.6.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xceThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.6.2 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xcebaThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.6.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.6.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.6.5 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdb9The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.6.6 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdb9cfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.6.7 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdb9cf83The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.6.8 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdb9cf83ceThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.6.9 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdb9cf83cebcThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.6.10 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdb9cf83cebcceThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.6.11 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdb9cf83cebcceb5The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.7.1 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0x00The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.7.2 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xc280The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.7.3 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xe0a080The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.7.4 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf0908080The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.8.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf888808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.8.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfc8480808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.9.1 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0x7fThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.9.2 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xdfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.9.3 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xefbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.9.4 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf48fbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.10.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf7bfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.10.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfbbfbfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.10.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfdbfbfbfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.11.1 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xed9fbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.11.2 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xee8080The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.11.3 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xefbfbdThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.11.4 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf48fbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.11.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf4908080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.12.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x80The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.12.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.12.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x80bfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.12.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x80bf80The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.12.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x80bf80bfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.12.6 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x80bf80bf80The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.12.7 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x80bf80bf80bfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.12.8 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f...The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.13.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xc020c120c220c320c420c520c620c720c820c920ca20cb20cc20cd20ce20cf20...The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.13.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xe020e120e220e320e420e520e620e720e820e920ea20eb20ec20ed20ee20The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.13.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf020f120f220f320f420f520f620The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.13.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf820f920fa20The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.13.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfc20The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.14.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xc0The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.14.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xe080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.14.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf08080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.14.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf8808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.14.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfc80808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.14.6 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xdfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.14.7 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xefbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.14.8 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf7bfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.14.9 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfbbfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.14.10 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfdbfbfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.15.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xc0e080f08080f8808080fc80808080dfefbff7bfbffbbfbfbffdbfbfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.16.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfeThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.16.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xffThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.16.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfefeffffThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.17.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xc0afThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.17.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xe080afThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.17.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf08080afThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.17.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf8808080afThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.17.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfc80808080afThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.18.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xc1bfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.18.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xe09fbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.18.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf08fbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.18.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf887bfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.18.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfc83bfbfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.19.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xc080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.19.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xe08080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.19.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf0808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.19.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf880808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.19.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfc8080808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.20.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xeda080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.20.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedadbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.20.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedae80The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.20.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedafbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.20.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedb080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.20.6 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedbe80The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.20.7 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.21.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xeda080edb080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.21.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xeda080edbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.21.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedadbfedb080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.21.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedadbfedbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.21.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedae80edb080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.21.6 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedae80edbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.21.7 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedafbfedb080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.21.8 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedafbfedbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.1 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xefbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.2 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xefbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.3 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf09fbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.4 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf09fbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.5 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf0afbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.6 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf0afbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.7 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf0bfbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.8 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf0bfbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.9 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf18fbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.10 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf18fbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.11 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf19fbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.12 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf19fbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.13 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf1afbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.14 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf1afbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.15 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf1bfbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.16 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf1bfbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.17 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf28fbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.18 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf28fbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.19 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf29fbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.20 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf29fbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.21 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf2afbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.22 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf2afbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.23 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf2bfbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.24 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf2bfbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.25 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf38fbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.26 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf38fbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.27 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf39fbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.28 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf39fbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.29 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf3afbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.30 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf3afbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.31 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf3bfbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.32 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf3bfbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.33 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf48fbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.22.34 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xf48fbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.23.1 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xefbfb9The message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.23.2 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xefbfbaThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.23.3 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xefbfbbThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.23.4 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xefbfbcThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.23.5 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xefbfbdThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.23.6 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xefbfbeThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection
6.23.7 Send a text message with payload which is valid UTF-8 in one fragment.<br><br>Payload: 0xefbfbfThe message is echo'ed back to us.Actual events match at least one expected. / close: It is preferred that the server close the TCP connection

Every result

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

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0962,905,6251.41ms2.46ms6338.4%384MiB
ConnectionPipelined4,09618,763,5713.49ms3.57ms6435.4%400MiB
ConnectionShort-lived4,0961,144,7271.49ms9.27ms4582.3%298MiB
ConcurrencyAsync Delay32,0002,014,15814.31ms16.70ms4487.8%1.1GiB
ConcurrencyCON-1M1,000,000250,00174.8us136.0us854.5%22.6GiB
ConcurrencyCON-1M-TLS1,000,000249,96970.0us110.0us1449.6%32.0GiB
EfficiencyLatency-10K1,0249,98174.7us107.0us26.6%300MiB
EfficiencyLatency-1M1,024998,026104.9us187.0us2810.8%302MiB
WorkloadJSON Comp4,096586,6056.96ms27.20ms6584.8%619MiB
WorkloadJSON Comp16,384573,53428.46ms56.50ms6613.4%1016MiB
WorkloadJSON TLS4,0961,346,5773.02ms65.46ms6341.8%434MiB
Workload8Gbit51249,35197.4us120.0us241.7%340MiB
WorkloadStatic TLS1,024413,8642.51ms37.73ms6297.3%2.7GiB
DatabaseAsync DB1,024324,6843.15ms19.10ms3206.1%250MiB
DatabaseFortunes1,024184,3415.55ms5.82ms3258.5%272MiB
HTTP/2Baseline2566,207,4103.95ms5.00ms6419.4%548MiB
HTTP/2Baseline1,0244,722,35121.21ms46.06ms6254.4%838MiB
HTTP/2Static256422,89219.14ms39.40ms6239.4%2.3GiB
HTTP/2Static1,024402,27978.93ms163.07ms6251.9%2.8GiB
HTTP/2Baseline (h2c)2566,671,5903.67ms16.15ms6418.6%578MiB
HTTP/2Baseline (h2c)1,0244,961,42220.15ms77.59ms6340.3%829MiB
HTTP/2Baseline (h2c)4,0964,500,68783.98ms210.21ms6176.9%2.6GiB
HTTP/2JSON (h2c)1,0241,764,96517.79ms48.72ms6566.7%584MiB
HTTP/2JSON (h2c)4,0961,616,16369.10ms320.17ms6244.4%1.3GiB
WebSocketEcho5123,646,407139us249us6495.2%179MiB
WebSocketEcho4,0963,660,925957us1.78ms6188.0%275MiB
WebSocketEcho16,3843,473,3631.94ms6.13ms5920.3%449MiB
WebSocketEcho Pipelined51247,190,006172us278us6715.6%184MiB
WebSocketEcho Pipelined4,09646,405,8841.19ms4.05ms6235.8%283MiB
WebSocketEcho Pipelined16,38444,938,6721.73ms4.65ms6151.7%341MiB
WebSocketEcho Short-lived5121,170,84564us177us4419.1%173MiB
WebSocketEcho Short-lived4,0961,145,17768us214us4314.1%178MiB

Compared with

The Rust web frameworks around actix on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.

EntryCompositevs actix
Proa6383+20%head to head
ntex6209+17%head to head
cpeak5218-2%head to head
tako4940-7%head to head

Compare actix with any Rust entry · Compare actix with any entry, in any language · Every Rust entry, ranked

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