DevTable / gantryd

Framework for easy management of docker-based components across machines
Apache License 2.0
267 stars 28 forks source link

Question: Haproxy Reload with zero packet loss #1

Open sukrit007 opened 10 years ago

sukrit007 commented 10 years ago

This is a great solution and we were planning to use gantryd for our impementation. We were wondering how much you guys are affected by the packet losses due to soft reload of haproxy as described here (or rather what approach is gantryd taking to minimize packet loss due to reload) :

https://medium.com/@Drew_Stokes/actual-zero-downtime-with-haproxy-18318578fde6

sukrit007 commented 10 years ago

It is a non issue with kernel 3.9+ as it supports SO_REUSEPORT.

ccll commented 9 years ago

@sukrit007 Unfortunately this is not true, SO_REUSEPORT still causes traffic drop under some condition, there is a better solution: True Zero Downtime HAProxy Reloads