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

Use Round Robin algorithm instead of random distribution #11

Closed
merlos opened this issue Nov 10, 2019 · 0 comments
Closed

Use Round Robin algorithm instead of random distribution #11

merlos opened this issue Nov 10, 2019 · 0 comments

Comments

@merlos
Copy link
Owner

merlos commented Nov 10, 2019

Current implementation requests tiles in a uniform random way. Each tile server has the same probability of being requested, however because of the randomness this can make that a server is hit 5 times in a row whereas the others are idle.

In order to improve this some kind of round robin strategy can be applied. We assume all servers are equally efficient and the requests are divided in sequence. With round robin the requests for a 3 subdomain server (a,b,c) the sequence of requests would be to the servers a, b, c, a, b, c, a, b, c, a, b, c, a, b, c...

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

1 participant