3 ms·
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 ad
by davidw 10y ago
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.
- anonyfox 10y agoI'd say you really should have a look into https://www.youtube.com/watch?v=OxhTQdcieQE https://www.youtube.com/watch?v=OxhTQdcieQE . A really great presentation, including numbers and real world backup data, plus conceptual overviews.
- davidw 10y agoIt'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.html 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.
- anonyfox 10y agoI 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.