I have a few doubts about this test. I haven't had the chance to discuss with ericmortiz, so I'll say them here for public discussion.

If a new connection is spawned every 1ms, shouldn't there be 300k connections at the end of 5 minutes instead of 10k? I don't know Erlang but I scanned for the number 10000 as a hard-wired cap somewhere in the client application and did not find it.

What kind of scenario could result in snap being very fast in connection time, but totally failing in establishing half the connections? It doesn't really make sense to me - you would expect a more linear starvation profile.

Edit: I see now that the 10000 limit is indeed there. So perhaps my first 2 questions are already answered.

I agree with these problems. I wish there was a graph for the connection time versus packet number or something. Maybe snap was going quickly because it ignored half the packets or something. Would be interesting to see.