Memcached module opens one connection per request

While testing out the nginx memcached module, I noticed that it opens
a new connection to memcached for each request. Is there a way to make
nginx reuse a single connection? This makes load testing complicated
since the nginx machine quickly runs out of ephemeral ports.

Joshua Sierles

On Sun, Feb 24, 2008 at 12:51:27AM +0200, Joshua Sierles wrote:

While testing out the nginx memcached module, I noticed that it opens
a new connection to memcached for each request. Is there a way to make
nginx reuse a single connection? This makes load testing complicated
since the nginx machine quickly runs out of ephemeral ports.

No, nginx does not support persistent connections to backends.