Re:Go as an alternative to Node.js for very fast servers
by SkyMarshal on Wednesday August 14, 2013 @12:49PM
(#6212607)
Is this the wrk you're referring to:
Re:Go as an alternative to Node.js for very fast servers
by bhauer on Wednesday August 14, 2013 @04:11PM
(#6213919)
Yes. Sorry for not providing the link!
Re:Go as an alternative to Node.js for very fast servers
by voidlogic on Wednesday August 14, 2013 @11:37AM
(#6212119)
> Perhaps his tone was a little confrontational
Sorry, that was not intended.
>but his intentions were good. :)
They really were...
Re:Go as an alternative to Node.js for very fast servers
by daemon13 on Wednesday August 14, 2013 @11:43AM
(#6212161)
>> wrk > ab
Can you please expand on why? I recently bumped on wrk and am in process of evaluating switch from ab, thank you
Re:Go as an alternative to Node.js for very fast servers
by voidlogic on Wednesday August 14, 2013 @01:54PM
(#6213105)
daemon13, you might also be interested in reading this thread: https://news.ycombinator.com/item?id=6114282
Re:Go as an alternative to Node.js for very fast servers
by daemon13 on Thursday August 15, 2013 @05:43AM
(#6216891)
thank you!
Wrk uses a slightly different argument syntax from ab and WeigHTTP but has some upsides:
1. Wrk is also multi-threaded.
2. In our experience, wrk is slightly higher-performance than WeigHTTP (~5 to 10%).
3. Wrk provides average, maximum, and stdev for latency.
4. Wrk provides a time-limited mode (rather than request-count limited), which is appealing for some test types.
In my experience, as long as you configure Go and node to use all of your cores, Go will benchmark better than Node in any permutation of these configuration variables:
V8 is a very fast JavaScript runtime; node.js is modestly quick at handling HTTP requests. But among the many features of Go is a high-performance HTTP package. If you've used both, it isn't all that surprising that Go's performance clocks in higher than node.