Re: Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread Shafreeck Sea
必须用ip_hash ? 另外我也没太看明白你的问题。 2014-05-16 16:17 GMT+08:00 gaop...@richinfo.cn : > ngx_http_upstream_module Load balancing algorithm upstream the > instruction ip_hash; > > -- > gaop...@richinfo.cn > > > *From:* Shafreeck Sea > *Date:* 201

Re: nginx1.4.7 ip_hash load balancing strategy

2014-05-16 Thread Shafreeck Sea
why ip_hash ? 2014-05-16 15:29 GMT+08:00 gaop...@richinfo.cn : > hi > When my nginx is below this structure,Nginx access to the IP proxy > server by IP, then nginx ip_hash load balancing, will all requests are routed > to the same tomcat, do not know if you have what good method to solve th

Re: Does it possible to submit duplicated request with the proxy_next_upstream on

2014-01-16 Thread Shafreeck Sea
OK. Thank you very much . I will do an experiment to find out this 2014/1/16 itpp2012 > renenglish Wrote: > --- > > Sorry I can’t get it . > > > > If host A has added the counter and failed to response, the request > > would be failed over to

Add proxy_next_upstream_action to distinguish diffrient network actions

2014-01-14 Thread Shafreeck Sea
Hi all: The directive "proxy_next_upstream error timeout" takes effect on three network actions: connection, send and recieve. In practice ,we realy want to try next upstream according to in which actions we are. For example, I do not want to try next upstream if some error occurs or timed out whe

Re: Does it possible to submit duplicated request with the proxy_next_upstream on

2014-01-14 Thread Shafreeck Sea
Can any one help ? 2014/1/3 任勇全 > Hi all: > I am wondering if I set: > proxy_next_upstream error timeout; > Fox example , if the requested service is a counter , I issue the request > use the interface http://example.com/incr . The request is failed on my > first host A, then it is passed t