Re:Ask HN: What highly scalable thing have you built with Go?
by nemothekid on Monday July 02, 2018 @11:09AM
(#17442287)
Have you checked out https://github.com/valyala/fasthttp
[ Parent
| on HN ]
Re:Ask HN: What highly scalable thing have you built with Go?
by jonathan-kosgei on Monday July 02, 2018 @01:17PM
(#17443532)
Should fasthttp be used in production? It seems to get a lot of flak for not fully implementing HTTP.
https://www.reddit.com/r/golang/comments/5w3ang/switching_fr...
Re:Ask HN: What highly scalable thing have you built with Go?
by sagichmal on Monday July 02, 2018 @06:13PM
(#17445817)
Like every engineering decision it is a risk/reward spectrum. But unless you have profiled to know that net/http is your bottleneck, no, you should almost certainly not use fasthttp.
Re:Ask HN: What highly scalable thing have you built with Go?
by kasey_junk on Monday July 02, 2018 @02:34PM
(#17444267)
We use it in production, though fair warning we have very limited endpoint and consumers that allow us to test it aggressively.
What I really meant is we'd need to take things down to the bare network stack. Lots of our memory use/bottlenecks are fairly deep into the std lib.