October 4th, 2015
(written by lawrence krubner, however indented passages are often quotes). You can contact lawrence at: firstname.lastname@example.org
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.