3 ms·
The Go HTTP stack is not optimized for raw performance though; there's a number of alternative HTTP stacks written in Go optimized for performance, like fasthtt
by Cthulhu_ 2y ago
The Go HTTP stack is not optimized for raw performance though; there's a number of alternative HTTP stacks written in Go optimized for performance, like fasthttp (https://github.com/valyala/fasthttp https://github.com/valyala/fasthttp). (source: https://www.techempower.com/benchmarks/ https://www.techempower.com/benchmarks/)
Likewise, the standard library NodeJS http stack will not be as performant as a performance optimized alternative.
That said, if raw performance is your primary concern, neither Go nor NodeJS will be good enough. There's many more factors to consider.
- johnisgood 2y agoAgreed on fasthttp. > There's many more factors to consider. Erlang / Elixir?