Re: udp balancing

2016-06-23 Thread Frank Liu
Yes, thanks :) On Thu, Jun 23, 2016 at 10:42 AM, Pratyush Kumar wrote: > "To summarize: > > TCP balancing decision is on every new connection. > > TCP balancing decision is on every packet since it is connectionless." > > I think there is a typo there > Last l

Re: udp balancing

2016-06-23 Thread Pratyush Kumar
"To summarize: TCP balancing decision is on every new connection. TCP balancing decision is on every packet since it is connectionless." I think there is a typo there Last line should be "UDP balancing decision is on every packet since it is connectionless" On 23-Jun-2

Re: udp balancing

2016-06-23 Thread Frank Liu
To summarize: TCP balancing decision is on every new connection. TCP balancing decision is on every packet since it is connectionless. On Thu, Jun 23, 2016 at 9:08 AM, Maxim Konovalov wrote: > On 6/23/16 6:57 PM, Frank Liu wrote: > > That makes sense for udp (connection less). > > What about tcp

Re: udp balancing

2016-06-23 Thread Valentin V. Bartenev
On Thursday 23 June 2016 08:57:22 Frank Liu wrote: > That makes sense for udp (connection less). > What about tcp? I assume when client initiate the connection , nginx will > pick one upstream (rr) to make a connection and send all subsequent packets > to the same upstream using the same connection

Re: udp balancing

2016-06-23 Thread Maxim Konovalov
On 6/23/16 6:57 PM, Frank Liu wrote: > That makes sense for udp (connection less). > What about tcp? I assume when client initiate the connection , nginx > will pick one upstream (rr) to make a connection and send all > subsequent packets to the same upstream using the same connection. > Not sure

Re: udp balancing

2016-06-23 Thread Frank Liu
That makes sense for udp (connection less). What about tcp? I assume when client initiate the connection , nginx will pick one upstream (rr) to make a connection and send all subsequent packets to the same upstream using the same connection. Frank On Thursday, June 23, 2016, Maxim Konovalov wrot

Re: udp balancing

2016-06-23 Thread Maxim Konovalov
On 6/23/16 6:44 PM, Frank Liu wrote: > Hi, > > In the default stream/udp/proxy setup, will nginx round robin every > packet or will it remembers client and send all packets from same > client to same upstream? > The default is round-robin, yes. You can enable persistent-like behaviour though: h

udp balancing

2016-06-23 Thread Frank Liu
Hi, In the default stream/udp/proxy setup, will nginx round robin every packet or will it remembers client and send all packets from same client to same upstream? Thanks Frank ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listi