Async IO in Rust (part III)
PaulColomiets
221
Nice article.
Few points:
- It would be great to see the code for fasthttp.
- It looks like tests are somewhat broken:
The average rotor response size (including headers) is 48 bytes:
Requests/sec: 484700.17
Transfer/sec: 23.57MB
The average fasthttp response size (including headers) is 141 byte:
Requests/sec: 467981.18
Transfer/sec: 66.05MB
It would be great to see rotor and fasthttp responses.
48-byte response returned by rotor looks unrealistic, since the following minimal “Hello World” response already takes 91 byte.
“HTTP/1.1 200 OK\r\nContent-Length: 11\r\nContent-Type: text/plain\r\nServer: rotor\r\n\r\nHello World”.length
91