Erlang – OTP – Cowboy are the cutting edge

(written by lawrence krubner, however indented passages are often quotes). You can contact lawrence at: lawrence@krubner.com, or follow me on Twitter.

At the current time, the only thing out there, in the tech industry, that might cause me to move a way from Clojure, is something build around the Erlang VM . In those situations where performance and massive concurrency are needed, something like Erlang/Cowboy or Elixir/Phoenix need to be looked at.

I load tested (using wrk) nginx serving a two line, static HTML file, against a basic Cowboy service that parsed parameters, did an ETS lookup, and rendered several hundred json elements, on my EC2 micro.

nginx came in at 14612 requests per second, and the dynamic code under Cowboy option came in at 13336 per second.

The same server was pulling 147 requests per second for a “hello world” rails application (Unicorn, production mode). Cowboy really isn’t joking when they talk about performance.

Post external references

  1. 1
    https://news.ycombinator.com/item?id=10324921
Source