Open venediktov opened 6 years ago
I only tested on Mac OS , docker is super slow with swarm cluster and load balancing there was a challenge as our bidders by default utilize persistent connection and docker swarm load balancer did not seem to hold connections to its virtual ip/ports .
I picked up TRAEFIK docker image and set it up for load balancing of bidder persistent connections , it did perform better under swarm/traefik but not ideal . I will look into setting up NGINX persistent connection to the backend instead - will take some time.
If anyone @mrbald or @abushev want to give it a try perhaps there is better way to load balance persistent connections ?
Added HAProxy example it runs faster then TRAEFIK but still lags behind standalone bidder , needs more research , possible to experiment with home grown front-to-back socket binding with keep-alive
let's add compose.yml with SSP see #84 , then close this ticket.