Erlang HTTP client benchmarks
The current test attempts to create 1000 concurrent https connections to a local server, which responds after 10 ms.
Results show results at 100 iterations (100,000 connections).
Results are from Erlang 17.2.1. Running on Ubuntu 12.04 VM with 4 cores running on a 2013 MacBook Pro.
httpc performs MUCH worse if {max_keepalive, infinity} is not set on the server.
Make sure you have a high nofile limit, and enough sockets (on Ubuntu,
sudo sysctl -w net.ipv4.ip_local_port_range="2048 65535").
./run_server
./run_client CLIENT
CLIENT is one of hackney, httpc, httpc_opt, ibrowse, ibrowse_opt, lhttpc
