Improving load balancer performance
Improving load balancer performance

IPVS module used for swarm load balancer had a performance issue
under a high load situation. conn_reuse_mode=0 sysctl variable can
be set to handle the high load situation by reusing existing
connection entries in the IPVS table.

Under a high load, IPVS module was dropping tcp SYN packets whenever
a port reuse is detected with a connection in TIME_WAIT status forcing
clients to re-initiate tcp connections after request timeout events.
By setting conn_reuse_mode=0, IPVS module avoids special handling of
existing entries in the IPVS connection table.
Along with expire_nodest_conn=1, swarm load balancer can handle
a high load of requests and forward connections to newly joining
backend services.

Signed-off-by: Andrew Kim <1efc9ca9752ff84b9c48e9be50603182b6e58f9b@gmail.com>

nalind/docker,moul/docker,gnailuy/docker,konstruktoid/docker-upstream,flavio/docker,paralin/docker,jimjag/docker,Ramzec/docker,moby/moby,gnailuy/docker,nawawi/docker,konstruktoid/docker-upstream,bearstech/moby,Mokolea/docker,jameszhan/docker,bearstech/moby,thaJeztah/docker,mahak/docker,nalind/docker,cpuguy83/docker,Ramzec/docker,Ramzec/docker,moby/moby,docker/docker,trebonian/docker,moul/docker,nawawi/docker,paralin/docker,nawawi/docker,trebonian/docker,flavio/docker,moby/moby,nalind/docker,flavio/docker,Mokolea/docker,jameszhan/docker,jthelin/docker,AkihiroSuda/docker,bearstech/moby,jimjag/docker,vdemeester/docker,nawawi/docker,AkihiroSuda/docker,docker/docker,moul/docker,moul/docker,gnailuy/docker,gnailuy/docker,thaJeztah/docker,konstruktoid/docker-upstream,Mokolea/docker,djs55/docker,thaJeztah/docker,yosifkit/docker,mahak/docker,moby/moby,trebonian/docker,djs55/docker,nalind/docker,mahak/docker,yosifkit/docker,AkihiroSuda/docker,mahak/docker,jthelin/docker,paralin/docker,vdemeester/docker,konstruktoid/docker-upstream,jimjag/docker,bearstech/moby,trebonian/docker,vdemeester/docker,yosifkit/docker,cpuguy83/docker,paralin/docker,flavio/docker,Ramzec/docker,cpuguy83/docker,AkihiroSuda/docker,jimjag/docker,thaJeztah/docker,yosifkit/docker,jameszhan/docker,docker/docker,djs55/docker,cpuguy83/docker,Mokolea/docker