openresty / memc-nginx-module

An extended version of the standard memcached module that supports set, add, delete, and many more memcached commands.
http://wiki.nginx.org/NginxHttpMemcModule
213 stars 56 forks source link

memcached_next_upstream and memcached_next_upstream_tries support #30

Open helmus opened 6 years ago

helmus commented 6 years ago

When using multiple servers it would be useful if memc_next_upstream could be supported to result in less cache misses. The native memcached module in openresty supports these but not memc which got me confused for a little while:

for reference: http://nginx.org/en/docs/http/ngx_http_memcached_module.html#memcached_next_upstream http://nginx.org/en/docs/http/ngx_http_memcached_module.html#memcached_next_upstream_tries

Thanks for maintaining such an awesome library !