[go-nuts] Re: Poor performance of net.Dial() & friends

2017-01-10 Thread sjn via golang-nuts
On Tuesday, January 10, 2017 at 1:24:51 PM UTC-8, Dave Cheney wrote: > Dumb question, what about your design prevents you from pooling and reusing connected sockets? The requirements call for a new TCP connection each time. I proposed reusing connections but the customer isn't happy with that

[go-nuts] Poor performance of net.Dial() & friends

2017-01-10 Thread sjn via golang-nuts
Hi Gophers, My problem domain is such that I need to make a large number of TCP connections from a small set of hosts to many other hosts (targets), on a local network. The connections are short lived, usually <200ms and transfer <100 bytes in each direction, I need to do about 100k connections