News for hackers. Stuff that matters.
Re:Crystal Lang vs. Node.js vs. Go Benchmarks by Vendan on Thursday May 18, 2017 @11:47AM (#14368228)
It should be noted that this is a rather poor benchmark, comparing multiprocess SO_REUSEPORT and single process multithreading, as well as no consistent header set. Note that the crystal implementation is outputting about 92 bytes per request, whereas Go put out 142 bytes per request. Also, Go stdlib was tested with different settings then any of the others.
Re:Crystal Lang vs. Node.js vs. Go Benchmarks by diakritikal on Thursday May 18, 2017 @11:59AM (#14368345)
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_fr...

Re:Crystal Lang vs. Node.js vs. Go Benchmarks by LeoNatan25 on Thursday May 18, 2017 @11:53AM (#14368285)
This is written in a very messy manner. The author clearly had gaps in their expertise, it was pointed to them and they made a mess of stikethroughs and updates. I'd rather people fully explore the areas they intend to write on, instead of mission out fundamentals and coming out with misleading results.
Re:Crystal Lang vs. Node.js vs. Go Benchmarks by spullara on Thursday May 18, 2017 @12:00PM (#14368366)
If you are going to post your benchmarks for web serving you should just contribute to Techempower's benchmarks.

https://www.techempower.com/benchmarks/

Re:Crystal Lang vs. Node.js vs. Go Benchmarks by rattray on Thursday May 18, 2017 @11:52AM (#14368271)
While it's understood that generalized benchmarks will never be representative, it's usually nice to see at least a few different examples (eg; parse/process/return large JSON blob, read objects from a db, do some math).

Regardless, I appreciate the author's taking the time to run these and share.

Re:Crystal Lang vs. Node.js vs. Go Benchmarks by imightbewrong on Thursday May 18, 2017 @11:43AM (#14368187)
I would love to see how Elixir compares in this matchup.
Re:Crystal Lang vs. Node.js vs. Go Benchmarks by chimen on Thursday May 18, 2017 @12:03PM (#14368382)
I don't think the power of elixir sits in the benchmarks of this sort. Elixir is not a fast language.
Re:Crystal Lang vs. Node.js vs. Go Benchmarks by matt_wulfeck on Thursday May 18, 2017 @11:57AM (#14368331)
Maybe a better benchmark is to compare the time it takes to setup, test, and run a distributed benchmark all in all 3 + elixir.
Re:Crystal Lang vs. Node.js vs. Go Benchmarks by hyperpape on Thursday May 18, 2017 @11:58AM (#14368337)
In addition to the other complaints that people are making, running on localhost has a lot of potential to skew client-server benchmarks.
Re:Crystal Lang vs. Node.js vs. Go Benchmarks by Thaxll on Thursday May 18, 2017 @11:55AM (#14368308)
Another useless benchmark!