Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker compose with swarm #73

Open
venediktov opened this issue Sep 22, 2017 · 3 comments
Open

docker compose with swarm #73

venediktov opened this issue Sep 22, 2017 · 3 comments

Comments

@venediktov
Copy link
Owner

  • create docker-compose-vanilla.yaml
    this command "docker-compose -f docker-compose-vanilla.yaml"
    should start NGINX configured for vanilla-rtb docker image + vanilla-rtb image with 3-4 http_handler_test running on 3-4 different ports .
    docker compose file should map volume for both nginx and vanilla-rtb , so that we could alter configuration if needed.
  • add performance tests results to our wiki
@venediktov
Copy link
Owner Author

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 ?

@venediktov
Copy link
Owner Author

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

@venediktov
Copy link
Owner Author

venediktov commented Sep 26, 2018

let's add compose.yml with SSP see #84 , then close this ticket.

@venediktov venediktov added this to In progress in SSP in VanillaRTB Sep 26, 2018
@venediktov venediktov moved this from In progress to Needs review in SSP in VanillaRTB Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
SSP in VanillaRTB
  
Needs review
Development

No branches or pull requests

2 participants