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

Add unit test for workload balancing on stream-server #8

Open
sachalevy opened this issue May 28, 2022 · 0 comments
Open

Add unit test for workload balancing on stream-server #8

sachalevy opened this issue May 28, 2022 · 0 comments
Labels
test Testing related matters

Comments

@sachalevy
Copy link
Member

sachalevy commented May 28, 2022

The core task of the stream server is to forward the queries coming from consumers (clients) to producers (hosts). The views.find_active_channel method defines the logic of searching through active producer channels and returning the best choice to forward consumer query.

We must test for picking available channels (that producers have recently connected to/that are currently active and share clusters with the users).

@sachalevy sachalevy added the test Testing related matters label May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Testing related matters
Projects
None yet
Development

No branches or pull requests

1 participant