Attempt to implement http proxy.
Features:
- parallelism
- Keep-Alive
To benchmark:
sysctl net.ipv4.ip_local_port_range=2000 60999
ulimit -n 524288
clush -B -R exec -w [01-20] wrk --timeout 5 --latency -t1 -c5500 -d20s http://127.0.0.1:8000/index%host.html
And then in separate window watch tcp stats:
sudo watch -d -n 0.8 "ss -s"