News for hackers. Stuff that matters.
Re:The Crystal Programming Language by reednj on Monday December 19, 2016 @07:04AM (#13210883)
I find ruby plenty fast enough for sites in the 1k/min requests range, but I have serious problems getting it to run fast enough with websockets. Even 40 concurrent websockets connections through ruby is enough to bring down my hosts.

Does anyone have any experience using this with websockets? How does it perform?

Re:The Crystal Programming Language by RX14 on Monday December 19, 2016 @08:15AM (#13211150)
Crystal has websockets built into the standard library, and as with almost everything built in crystal it uses evented io. Here's a benchmark: http://serdardogruyol.com/benchmarking-and-scaling-websocket...