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

Disable KeepAlive on proxy #21

Merged
merged 6 commits into from Mar 21, 2017

Conversation

Projects
None yet
1 participant
@alexellis
Member

alexellis commented Mar 16, 2017

Description

Disable KeepAlive on proxy to enforce round-robin for function calls

Motivation and Context

During a scaled load-test all the requests go to one swarm replica until the KeepAlive expires add then the next in the list is picked. This shows a more aggressive load-balancing.

How Has This Been Tested?

Tested on PWD and locally by scaling the func_nodeinfo service which displays the container name executing the request.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have added tests to cover my changes.

TBD - Add integration test to prove RR behaviour.

@alexellis alexellis self-assigned this Mar 16, 2017

@alexellis alexellis merged commit 2aeadfd into master Mar 21, 2017

0 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
continuous-integration/travis-ci/push The Travis CI build is in progress
Details

@alexellis alexellis deleted the lookup_ip branch Apr 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment