2 ms·
It's a regression in the closing of the connection in the http server in the standard library. If really worried about performance, the fasthttp package is muc
by andy_ppp 10y ago
It's a regression in the closing of the connection in the http server in the standard library.
If really worried about performance, the fasthttp package is much faster than the one included in go.
"In short, fasthttp server is up to 10 times faster than net/http."
https://github.com/valyala/fasthttp https://github.com/valyala/fasthttp
- elithrar 10y ago(And doesn't support HTTP/2, so pick your poison)
- andy_ppp 10y agoI thought the whole point of HTTP/2 was to transfer as many things as possible in one connection so maybe this bug is less of a concern for these types of connection.
- buro9 10y agoThe great thing is that now fasthttp can be a bit slower and still make that claim.