Why is fasthttp faster than net/http?
The article “http implementation fasthttp in golang” from husobee mentions: Well, this is a much better implementation for several reasons: The worker pool model is a zero allocation model, as the workers are already initialized and are ready to serve, whereas in the stdlib implementation the go c.serve() has to allocate memory for the goroutine. … Read more