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

Question: How does load-balancing work for voting service? #23

Open
qusc opened this issue Nov 24, 2021 · 1 comment
Open

Question: How does load-balancing work for voting service? #23

qusc opened this issue Nov 24, 2021 · 1 comment

Comments

@qusc
Copy link

qusc commented Nov 24, 2021

I'm trying to understand how load balancing works for the votes service within this example. As voting data is stored in memory for the voting nodes, how is it synchronized with other nodes? Or stated differently: how are votes for the same poll that are handled by different instances of the voting service on different nodes being counted once the poll is evaluated? Is there a mechanism that makes sure that voting requests for any given poll always are handled by the same node? If not, how could it be built?
Any hint would be much appreciated.

@prog76
Copy link

prog76 commented Aug 5, 2022

For me, it doesn't work. With linkerd 2.11.4 I've scaled vote-bot to 35 instances and voting to 3 instances. As a result I see all the payload at the single voting pod.
chrome_7Hyblq2itd
g

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