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
bbb-web to loadbalance bbb-html5 instances #11008
Conversation
Using current load per node process is not a very good metric and might actually be worse than just plain simple round-robin. I see several problems here:
We currently have the same discussion for scalelite, and no real solution yet. It sounds intuitive to allocate new meetings to the server/process with the lowest load, but if you take into account the "thundering herd" problem and that you cannot predict the future of a meeting, it is not that easy anymore. It is not possible to make an informed decision before you have the required data. Trying to do so might actually be worse than a naive round-robin approach. |
@defnull Thank you for your comment! I have set the loadbalancing to use round robin approach, at least for now. |
I will finish the redis message routing to |
Ensure the new meeting is handled by the process with the most capacity to do so. No need of calculating number of meetings or users, just use CPU load.
No longer need to pass a meta parameter on meeting create to utilize parallel nodejs process.
to-html5-redis-channel1
- where1
is the instanceIdNo need to "open" each redis message in every process to see whether it is to be handled by that process.
TODO:
INFO_INSTANCE_ID=
to systemd_start.shfrom-akka-apps*
channelsRelated to #10933 #10868 #10860 #10969