News for hackers. Stuff that matters.
Re:Rails 5.0: Action Cable, API mode, and more by davidw on Friday July 01, 2016 @12:55PM (#12017770)
All good points. As I keep saying, I'm an Erlang fan. I actually used it at my last job, and have used it on and off since 2004-ish. It definitely has some advantages, but I'm just curious where it's actually beating Rails, and with what kinds of workloads and test methodology and so on.

Stuff like "Erlang processes are lighter" matters in some contexts, but not in a straight up speed contest. It matters a lot when you start trying to handle a bunch of concurrent connections, so maybe that's where we're getting some of the claims from.

Re:Rails 5.0: Action Cable, API mode, and more by anonyfox on Friday July 01, 2016 @02:27PM (#12018523)
I'd say you really should have a look into https://www.youtube.com/watch?v=OxhTQdcieQE . A really great presentation, including numbers and real world backup data, plus conceptual overviews.
Re:Rails 5.0: Action Cable, API mode, and more by davidw on Friday July 01, 2016 @03:25PM (#12019001)
It's pretty good, but a bit hype-y.

Functional programming is not an 'antidote' to having to go back and read old code or necessarily understanding it easily.

It references this:

http://sorentwo.com/2016/02/02/caching-what-is-it-good-for.h...

Which is interesting, but I don't see source code. 1.5-2X is pretty believable, but quite a bit less than "12 times" - which someone quoted here.

Re:Rails 5.0: Action Cable, API mode, and more by anonyfox on Friday July 01, 2016 @04:06PM (#12019268)
I can personally confirm above 10x improvements over rails, but can't Share the code :)

Depends on what you're doing though. Seems to excel when having low CPU intensive workloads but high traffic pressure from my experience.