Hi Ali,

> By the way, how stick table synchronization is different with using
> cookies or using the hash of the source IP? Why using the latter method
> eliminates the need for doing synchronization between load balancers?

Simple because the latter works in a stateless manner without any tables:
- when a cookie in a request contains the indication that server 2 has to
  be used, you just use server 2, you don't need an additional table to
  lookup (well, the list of backends servers, but no table containing things
  like session ids)
- same applies when you use the hash of the source ip


hash-types :
http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4-hash-type

cookies :
http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4.2-cookie



Regards,

Lukas                                     

Reply via email to