I often use thread specific storage. 1 connection maintained per thread.

Sent from my iPhone

On Sep 24, 2009, at 5:56 PM, Rob Slifka <[email protected]> wrote:

Hi everyone,

Just curious if/how anyone is doing client side connection pooling?

For simplicity's sake, we're opening and closing connections on demand. The trick is that under load you run out of native sockets as a flurry of requests result in closed connections in TIME_WAIT.

Any thoughts on this?

Rob

Reply via email to