2 ms·
Ugh... not a great article, I don't tend to read micro benchmark articles with baited breath for some nuggets of insight so no surprise really. WRT Go: Linux
by diakritikal 9y ago
Ugh... not a great article, I don't tend to read micro benchmark articles with baited breath for some nuggets of insight so no surprise really.
WRT Go:
Linux implementation of SO_REUSEPORT initially had a few big gotchas, such as incoming conns could get dropped if one of the multiple listening process terminates. I don't know what the state of affairs is now however it was an eminently sensible position not to support it on Linux way back when.
So fasthttp doesn't really have a good reputation for correctness[1], sacrificing much of the HTTP specs for speed. I can't imagine I'd ever want to use it.
[1] https://www.reddit.com/r/golang/comments/5w3ang/switching_from_nethttp_to_fasthttp_is_it_worth_it/ https://www.reddit.com/r/golang/comments/5w3ang/switching_fr...