Can upstream be used for memcachedmodule?

Hi All,

I try to use upstream to define a set of memcached,then I can use it in
memcached_pass setting ,but it can not work,anyone know how to do this ?
If I can not set and use it just like in proxy_pass,then how can I set
more than one memcached for memcachedmodule ? memcached_next_upstream
need an upstream with two or more servers,but how can I do this ?


best regards,
arlenecc

WARNINGS : this email may be confidential and/or privileged. Only the
intended recipient may access or use it. If you are not the intented
recipient, please delete this email and notify us promptly. We use virus
scanning software but disclaim any liability for viruses or any other
contents of this message or any attachment.

On Mon, Feb 04, 2008 at 10:38:59PM +0800, arlene chen wrote:

I try to use upstream to define a set of memcached,then I can use it in
memcached_pass setting ,but it can not work,anyone know how to do this ?
If I can not set and use it just like in proxy_pass,then how can I set
more than one memcached for memcachedmodule ? memcached_next_upstream
need an upstream with two or more servers,but how can I do this ?

ngx_http_memcached_module should work with several upstreams.

Igor S. 写道:

ngx_http_memcached_module should work with several upstreams.

but it is not support in the default module of nginx ,isn`t it ?


best regards,
arlenecc

WARNINGS : this email may be confidential and/or privileged. Only the
intended recipient may access or use it. If you are not the intented
recipient, please delete this email and notify us promptly. We use virus
scanning software but disclaim any liability for viruses or any other
contents of this message or any attachment.

Ìîíàø¸ Ìèõàèë дµÀ:

You can try ngx_http_upstream_memcached_hash_module - load balancer to
distribute the requests among memcached servers in a cluster specified
with memcached_pass directive. Разработка приложений Кишинев, заказать создание мобильного приложения для ios и android в Молдове

oh, great module! That is just what I want ! thanks!


best regards,
arlenecc

WARNINGS : this email may be confidential and/or privileged. Only the
intended recipient may access or use it. If you are not the intented
recipient, please delete this email and notify us promptly. We use virus
scanning software but disclaim any liability for viruses or any other
contents of this message or any attachment.

Hi, arlene.

I try to use upstream to define a set of memcached,then I can use it in
memcached_pass setting ,but it can not work,anyone know how to do this ?
If I can not set and use it just like in proxy_pass,then how can I set
more than one memcached for memcachedmodule ? memcached_next_upstream
need an upstream with two or more servers,but how can I do this ?

You can try ngx_http_upstream_memcached_hash_module - load balancer to
distribute the requests among memcached servers in a cluster specified
with memcached_pass directive. Разработка приложений Кишинев, заказать создание мобильного приложения для ios и android в Молдове