Fast

Let’s cut to the chase. Elixir is both fast and concurrent, as you’d expect from a language running on the Erlang virtual machine. If you’re looking for raw speed, Phoenix is hard to beat. In July 2015, we (Chris McCord) compared Phoenix with Ruby on Rails. The firebird was nearly an order of magnitude faster than the locomotive, and it used just over one fourth of the processing power and just under one sixth of the total memory. Those numbers are staggering, but not many Rails users are after naked power.

Let’s compare Phoenix with some other popular frameworks. Check out the measurements of some major web frameworks at the Phoenix/mroth showdown.[1] Those results are impressive, rivaling the best in the industry. Among these servers ...

Get Programming Phoenix now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.