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

Simple-Balancer #1

Open
TakiMoysha opened this issue Nov 17, 2024 · 0 comments · May be fixed by #4
Open

Simple-Balancer #1

TakiMoysha opened this issue Nov 17, 2024 · 0 comments · May be fixed by #4
Assignees

Comments

@TakiMoysha
Copy link
Owner

TakiMoysha commented Nov 17, 2024

Big Picture

  • Read config from toml file.
  • Prioritize addresses.
  • Fault tolerance.
  • Minimum latency.

Round-Robin - distributes requests evenly among all available servers.
Pick-First - always selects the first available address, but does not switch to higher priority addresses if they become available after the initial connection.

In config file addresses order by priority, (0, 1, 2, ...).
Always selected the first available server with highest priority.
Automation switching to higher priority addresses if they become available after the initial connection.

References

  1. Балансировщик нагрузки с приоритизацией / habr.com
@TakiMoysha TakiMoysha converted this from a draft issue Nov 17, 2024
@TakiMoysha TakiMoysha pinned this issue Nov 17, 2024
@TakiMoysha TakiMoysha unpinned this issue Nov 17, 2024
@TakiMoysha TakiMoysha self-assigned this Nov 17, 2024
@TakiMoysha TakiMoysha linked a pull request Nov 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant