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

new test: load balancing #12

Open
Geal opened this issue Oct 3, 2018 · 2 comments
Open

new test: load balancing #12

Geal opened this issue Oct 3, 2018 · 2 comments

Comments

@Geal
Copy link
Member

Geal commented Oct 3, 2018

  • set up an application with two backends, each with different weights
  • each backend is set up to indicate its id (number or something else) in the response
  • the client does a serie of requests (no keep-alive, otherwise the session would just reuse the backend connection)
  • the client counts how many requests were answered by which backend
  • we check that it corresponds to the weights
@NotBad4U NotBad4U added this to the first test suite milestone Oct 5, 2018
@NotBad4U
Copy link
Contributor

NotBad4U commented Oct 9, 2018

the client counts how many requests were answered by which backend

Why we have to do that ?

NOTE: The description doesn't specify which load balancing strategy we'll use

@Geal
Copy link
Member Author

Geal commented Oct 9, 2018

We do that to verify that the load balancer affects requests to backends according to the weights specified in the configuration. At this scale it should get the same result with both LB strategies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants