5 ms·
I'd strongly recommend that you at least consider using Elixir [0] instead. Especially since you're coming from Ruby/Rails and you're looking at the frameworks,
by shadeless 10y ago
I'd strongly recommend that you at least consider using Elixir [0] instead. Especially since you're coming from Ruby/Rails and you're looking at the frameworks, Phoenix [1] will get you 80% there.
Instead of me listing all the nice things about Elixir which you can read about online, feel free to send me an email with any questions regarding usage in production. I've been using it for some time and I'm very happy with it.
[0] http://elixir-lang.org/ http://elixir-lang.org/
[1] http://www.phoenixframework.org/ http://www.phoenixframework.org/
- dlist 10y agoLooking into it and setting up a sandbox. From a performance standpoint, how does Phoenix stack up against Rails or Node.js for you? I'm looking at benchmarks http://www.techempower.com/benchmarks/#section=data-r12&hw=peak&test=json&l=2idxs http://www.techempower.com/benchmarks/#section=data-r12&hw=p... and, while there are advantages, it doesn't seem to stand out.
- shadeless 10y agoIIRC there were some issues in how Phoenix was configured for the techempower benchmarks, I expect that it will have much better results in the next one. You may want to look at these benchmarks also: https://github.com/mroth/phoenix-showdown https://github.com/mroth/phoenix-showdown https://gist.github.com/omnibs/e5e72b31e6bd25caf39a https://gist.github.com/omnibs/e5e72b31e6bd25caf39a Here is a post about using 2 million active websockets connections in Phoenix: http://www.phoenixframework.org/blog/the-road-to-2-million-websocket-connections http://www.phoenixframework.org/blog/the-road-to-2-million-w... From my experience, Rails and Phoenix speed isn't comparable. Even in development mode (with code-reloading etc) Phoenix is much faster than a production Rails server. I've also replaced three Node.js servers with one Elixir server which did the same work with less memory and CPU usage, but I'm aware that most rewrites have a similar story, so I won't claim that this is enough proof.