Re: Openmeetings cluster
Perfect. Thanks Maxim and Dennis, I will do my tests ad I will inform you of the result. Regards El lun., 28 sept. 2020 a las 21:41, Maxim Solodovnik () escribió: > We do have report from one of our users (somewhere in JIRA) about > 15-16 users in the room > Was unable to find it ... > > On Tue, 29 Sep 2020 at 06:21, Dennis Worthem wrote: > > > > > > So that would be the square root of 200 rounded down to an integer which > is 14. > > n((1)+(n-1))=200 > > > > > > Sent from my Sprint Samsung Galaxy S7 edge. > > > > > > Original message > > From: Siovel Rodriguez > > Date: 9/28/20 5:39 PM (GMT-05:00) > > To: user@openmeetings.apache.org > > Subject: Re: Openmeetings cluster > > > > okok I understand, then in one node the maximum number of users with > camera and microphone would be between 14 and 15 approximately? > > > > Regards > > > > El lun., 28 sept. 2020 a las 12:18, Maxim Solodovnik (< > solomax...@gmail.com>) escribió: > >> > >> On Mon, 28 Sep 2020 at 20:48, Siovel Rodriguez > wrote: > >> > > >> > Hi maxim, thank you very much for your reply. > >> > > >> > This means you can have up to 200 concurrent users per server? > >> > the most strict restrictions - are from KMS: ~ 200 media streams > per server > >> > >> It depends :(( > >> In case you will have 5 users in the room, each with camera and > microphone ON > >> you will get 1 outgoing and 4 incoming streams per user ... > >> 25 total > >> > >> same time: > >> 1 user with audio/video 100 listeners -> 101 KMS stream ... > >> > >> > > >> > Regards. > >> > > >> > El dom., 27 sept. 2020 a las 21:42, Maxim Solodovnik (< > solomax...@gmail.com>) escribió: > >> >> > >> >> Hello, > >> >> > >> >> The logic is here > >> >> > https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/ClientManager.java#L379 > >> >> > >> >> 1) if there is only one node in the cluster - just use it > >> >> 2) if room with users already opened on some node - use it > >> >> 3) find the node with minimum capacity (i.e. sum "room capacity" on > every node and find minimum) - use it > >> >> > >> >> the most strict restrictions - are from KMS: ~200 media streams per > server > >> >> > >> >> On Sat, 26 Sep 2020 at 22:32, Siovel Rodriguez > wrote: > >> >>> > >> >>> Hi Maxim, we have implemented a cluster of openmeetings in my > company as a test. So far it is working fine. I would like to know if > openmeetings uses a specific algorithm for load balancing, how many users > could it have per room with audio and video and any other details that it > could offer me as we intend to put it into production as soon as possible. > >> >>> > >> >>> Greetings > >> >> > >> >> > >> >> > >> >> -- > >> >> Best regards, > >> >> Maxim > >> > >> > >> > >> -- > >> Best regards, > >> Maxim > > > > -- > Best regards, > Maxim >
Re: Openmeetings cluster
We do have report from one of our users (somewhere in JIRA) about 15-16 users in the room Was unable to find it ... On Tue, 29 Sep 2020 at 06:21, Dennis Worthem wrote: > > > So that would be the square root of 200 rounded down to an integer which is > 14. > n((1)+(n-1))=200 > > > Sent from my Sprint Samsung Galaxy S7 edge. > > > Original message > From: Siovel Rodriguez > Date: 9/28/20 5:39 PM (GMT-05:00) > To: user@openmeetings.apache.org > Subject: Re: Openmeetings cluster > > okok I understand, then in one node the maximum number of users with camera > and microphone would be between 14 and 15 approximately? > > Regards > > El lun., 28 sept. 2020 a las 12:18, Maxim Solodovnik () > escribió: >> >> On Mon, 28 Sep 2020 at 20:48, Siovel Rodriguez wrote: >> > >> > Hi maxim, thank you very much for your reply. >> > >> > This means you can have up to 200 concurrent users per server? >> > the most strict restrictions - are from KMS: ~ 200 media streams per >> > server >> >> It depends :(( >> In case you will have 5 users in the room, each with camera and microphone ON >> you will get 1 outgoing and 4 incoming streams per user ... >> 25 total >> >> same time: >> 1 user with audio/video 100 listeners -> 101 KMS stream ... >> >> > >> > Regards. >> > >> > El dom., 27 sept. 2020 a las 21:42, Maxim Solodovnik >> > () escribió: >> >> >> >> Hello, >> >> >> >> The logic is here >> >> https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/ClientManager.java#L379 >> >> >> >> 1) if there is only one node in the cluster - just use it >> >> 2) if room with users already opened on some node - use it >> >> 3) find the node with minimum capacity (i.e. sum "room capacity" on every >> >> node and find minimum) - use it >> >> >> >> the most strict restrictions - are from KMS: ~200 media streams per server >> >> >> >> On Sat, 26 Sep 2020 at 22:32, Siovel Rodriguez wrote: >> >>> >> >>> Hi Maxim, we have implemented a cluster of openmeetings in my company as >> >>> a test. So far it is working fine. I would like to know if openmeetings >> >>> uses a specific algorithm for load balancing, how many users could it >> >>> have per room with audio and video and any other details that it could >> >>> offer me as we intend to put it into production as soon as possible. >> >>> >> >>> Greetings >> >> >> >> >> >> >> >> -- >> >> Best regards, >> >> Maxim >> >> >> >> -- >> Best regards, >> Maxim -- Best regards, Maxim
Re: Openmeetings cluster
So that would be the square root of 200 rounded down to an integer which is 14.n((1)+(n-1))=200Sent from my Sprint Samsung Galaxy S7 edge. Original message From: Siovel Rodriguez Date: 9/28/20 5:39 PM (GMT-05:00) To: user@openmeetings.apache.org Subject: Re: Openmeetings cluster okok I understand, then in one node the maximum number of users with camera and microphone would be between 14 and 15 approximately?RegardsEl lun., 28 sept. 2020 a las 12:18, Maxim Solodovnik () escribió:On Mon, 28 Sep 2020 at 20:48, Siovel Rodriguez wrote: > > Hi maxim, thank you very much for your reply. > > This means you can have up to 200 concurrent users per server? > the most strict restrictions - are from KMS: ~ 200 media streams per server It depends :(( In case you will have 5 users in the room, each with camera and microphone ON you will get 1 outgoing and 4 incoming streams per user ... 25 total same time: 1 user with audio/video 100 listeners -> 101 KMS stream ... > > Regards. > > El dom., 27 sept. 2020 a las 21:42, Maxim Solodovnik () > escribió: >> >> Hello, >> >> The logic is here >> https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/ClientManager.java#L379 >> >> 1) if there is only one node in the cluster - just use it >> 2) if room with users already opened on some node - use it >> 3) find the node with minimum capacity (i.e. sum "room capacity" on every >> node and find minimum) - use it >> >> the most strict restrictions - are from KMS: ~200 media streams per server >> >> On Sat, 26 Sep 2020 at 22:32, Siovel Rodriguez wrote: >>> >>> Hi Maxim, we have implemented a cluster of openmeetings in my company as a >>> test. So far it is working fine. I would like to know if openmeetings uses >>> a specific algorithm for load balancing, how many users could it have per >>> room with audio and video and any other details that it could offer me as >>> we intend to put it into production as soon as possible. >>> >>> Greetings >> >> >> >> -- >> Best regards, >> Maxim -- Best regards, Maxim
Re: Openmeetings cluster
okok I understand, then in one node the maximum number of users with camera and microphone would be between 14 and 15 approximately? Regards El lun., 28 sept. 2020 a las 12:18, Maxim Solodovnik () escribió: > On Mon, 28 Sep 2020 at 20:48, Siovel Rodriguez wrote: > > > > Hi maxim, thank you very much for your reply. > > > > This means you can have up to 200 concurrent users per server? > > the most strict restrictions - are from KMS: ~ 200 media streams per > server > > It depends :(( > In case you will have 5 users in the room, each with camera and microphone > ON > you will get 1 outgoing and 4 incoming streams per user ... > 25 total > > same time: > 1 user with audio/video 100 listeners -> 101 KMS stream ... > > > > > Regards. > > > > El dom., 27 sept. 2020 a las 21:42, Maxim Solodovnik (< > solomax...@gmail.com>) escribió: > >> > >> Hello, > >> > >> The logic is here > >> > https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/ClientManager.java#L379 > >> > >> 1) if there is only one node in the cluster - just use it > >> 2) if room with users already opened on some node - use it > >> 3) find the node with minimum capacity (i.e. sum "room capacity" on > every node and find minimum) - use it > >> > >> the most strict restrictions - are from KMS: ~200 media streams per > server > >> > >> On Sat, 26 Sep 2020 at 22:32, Siovel Rodriguez > wrote: > >>> > >>> Hi Maxim, we have implemented a cluster of openmeetings in my company > as a test. So far it is working fine. I would like to know if openmeetings > uses a specific algorithm for load balancing, how many users could it have > per room with audio and video and any other details that it could offer me > as we intend to put it into production as soon as possible. > >>> > >>> Greetings > >> > >> > >> > >> -- > >> Best regards, > >> Maxim > > > > -- > Best regards, > Maxim >
Re: Openmeetings cluster
On Mon, 28 Sep 2020 at 20:48, Siovel Rodriguez wrote: > > Hi maxim, thank you very much for your reply. > > This means you can have up to 200 concurrent users per server? > the most strict restrictions - are from KMS: ~ 200 media streams per server It depends :(( In case you will have 5 users in the room, each with camera and microphone ON you will get 1 outgoing and 4 incoming streams per user ... 25 total same time: 1 user with audio/video 100 listeners -> 101 KMS stream ... > > Regards. > > El dom., 27 sept. 2020 a las 21:42, Maxim Solodovnik () > escribió: >> >> Hello, >> >> The logic is here >> https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/ClientManager.java#L379 >> >> 1) if there is only one node in the cluster - just use it >> 2) if room with users already opened on some node - use it >> 3) find the node with minimum capacity (i.e. sum "room capacity" on every >> node and find minimum) - use it >> >> the most strict restrictions - are from KMS: ~200 media streams per server >> >> On Sat, 26 Sep 2020 at 22:32, Siovel Rodriguez wrote: >>> >>> Hi Maxim, we have implemented a cluster of openmeetings in my company as a >>> test. So far it is working fine. I would like to know if openmeetings uses >>> a specific algorithm for load balancing, how many users could it have per >>> room with audio and video and any other details that it could offer me as >>> we intend to put it into production as soon as possible. >>> >>> Greetings >> >> >> >> -- >> Best regards, >> Maxim -- Best regards, Maxim
Re: Openmeetings cluster
Hi maxim, thank you very much for your reply. This means you can have up to 200 concurrent users per server? * the most strict restrictions - are from KMS: ~ 200 media streams per server* Regards. El dom., 27 sept. 2020 a las 21:42, Maxim Solodovnik () escribió: > Hello, > > The logic is here > > https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/ClientManager.java#L379 > > 1) if there is only one node in the cluster - just use it > 2) if room with users already opened on some node - use it > 3) find the node with minimum capacity (i.e. sum "room capacity" on every > node and find minimum) - use it > > the most strict restrictions - are from KMS: ~200 media streams per server > > On Sat, 26 Sep 2020 at 22:32, Siovel Rodriguez wrote: > >> Hi Maxim, we have implemented a cluster of openmeetings in my company as >> a test. So far it is working fine. I would like to know if openmeetings >> uses a specific algorithm for load balancing, how many users could it have >> per room with audio and video and any other details that it could offer me >> as we intend to put it into production as soon as possible. >> >> Greetings >> > > > -- > Best regards, > Maxim >
Re: Openmeetings cluster
Hello, The logic is here https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/ClientManager.java#L379 1) if there is only one node in the cluster - just use it 2) if room with users already opened on some node - use it 3) find the node with minimum capacity (i.e. sum "room capacity" on every node and find minimum) - use it the most strict restrictions - are from KMS: ~200 media streams per server On Sat, 26 Sep 2020 at 22:32, Siovel Rodriguez wrote: > Hi Maxim, we have implemented a cluster of openmeetings in my company as a > test. So far it is working fine. I would like to know if openmeetings > uses a specific algorithm for load balancing, how many users could it have > per room with audio and video and any other details that it could offer me > as we intend to put it into production as soon as possible. > > Greetings > -- Best regards, Maxim
Re: Openmeetings Cluster with Docker
Yes Maxim I know, and all-in-on to test initially is a good form. The other is a little more complicated 2017-06-15 12:06 GMT-04:00 Maxim Solodovnik: > Good to know :) > Have to read about it :) I have tried to create all-in-one image to > simplify installation process for the end user :) > > On Thu, Jun 15, 2017 at 11:02 PM, Siovel Rodriguez > wrote: > >> Hi Maxim, thak you for your answer. Yes, I use my own Docker image, but >> is a little different (And adapted to my own environment) because Docker >> work better with microservices architecure, in this case one image for OM >> and another for Mysql(same docker hub), later link, Can be with >> docker-compose or docker swarm >> >> 2017-06-14 1:41 GMT-04:00 Maxim Solodovnik : >> >>> Hello, >>> >>> sorry for the late reply, I was on vacation :) >>> >>> I'm not sure this is possible, currently restarting is required to >>> update persistence.xml and let know OpenJPA the nodes has been changed >>> Maybe you know how this can be implemented "elastic way"? >>> >>> Additionally please read this thread: http://markmail.org/message/57 >>> hv7r7cbu2mulc4 >>> >>> BTW are you using your own docker? I have created Docker image available >>> here: https://github.com/openmeetings/openmeetings-docker >>> >>> On Mon, Jun 12, 2017 at 11:07 AM, Siovel Rodriguez >>> wrote: >>> Hi, Maxim. I create a Openmeetings cluster with docker, specifically with docker swarm. The architecture is as follows: Haproxy (Load Balancer) | om1 om2 om3 .. omN | Mysql All this is done with containers and I'm trying to make the OM containers dynamic (elastic) in such a way that more users, more containers and vice versa when the number of users decreases fewer containers. I happen to want to see from the openmeetings web interface the users connected at any moment to each container of openmeetings, the traditional way of creating cluster does not serve me because it is a rather static form. Any help would greatly appreciate it. Regards >>> >>> >>> >>> -- >>> WBR >>> Maxim aka solomax >>> >> >> > > > -- > WBR > Maxim aka solomax >
Re: Openmeetings Cluster with Docker
Good to know :) Have to read about it :) I have tried to create all-in-one image to simplify installation process for the end user :) On Thu, Jun 15, 2017 at 11:02 PM, Siovel Rodriguezwrote: > Hi Maxim, thak you for your answer. Yes, I use my own Docker image, but is > a little different (And adapted to my own environment) because Docker > work better with microservices architecure, in this case one image for OM > and another for Mysql(same docker hub), later link, Can be with > docker-compose or docker swarm > > 2017-06-14 1:41 GMT-04:00 Maxim Solodovnik : > >> Hello, >> >> sorry for the late reply, I was on vacation :) >> >> I'm not sure this is possible, currently restarting is required to update >> persistence.xml and let know OpenJPA the nodes has been changed >> Maybe you know how this can be implemented "elastic way"? >> >> Additionally please read this thread: http://markmail.org/message/57 >> hv7r7cbu2mulc4 >> >> BTW are you using your own docker? I have created Docker image available >> here: https://github.com/openmeetings/openmeetings-docker >> >> On Mon, Jun 12, 2017 at 11:07 AM, Siovel Rodriguez >> wrote: >> >>> Hi, Maxim. I create a Openmeetings cluster with docker, specifically >>> with docker swarm. The architecture is as follows: >>> >>> Haproxy (Load Balancer) >>> | >>> om1 om2 om3 .. omN >>> | >>> Mysql >>> >>> All this is done with containers and I'm trying to make the OM >>> containers dynamic (elastic) in such a way that more users, more containers >>> and vice versa when the number of users decreases fewer containers. I >>> happen to want to see from the openmeetings web interface the users >>> connected at any moment to each container of openmeetings, the traditional >>> way of creating cluster does not serve me because it is a rather static >>> form. Any help would greatly appreciate it. >>> >>> Regards >>> >> >> >> >> -- >> WBR >> Maxim aka solomax >> > > -- WBR Maxim aka solomax
Re: Openmeetings Cluster with Docker
Hi Maxim, thak you for your answer. Yes, I use my own Docker image, but is a little different (And adapted to my own environment) because Docker work better with microservices architecure, in this case one image for OM and another for Mysql(same docker hub), later link, Can be with docker-compose or docker swarm 2017-06-14 1:41 GMT-04:00 Maxim Solodovnik: > Hello, > > sorry for the late reply, I was on vacation :) > > I'm not sure this is possible, currently restarting is required to update > persistence.xml and let know OpenJPA the nodes has been changed > Maybe you know how this can be implemented "elastic way"? > > Additionally please read this thread: http://markmail.org/message/ > 57hv7r7cbu2mulc4 > > BTW are you using your own docker? I have created Docker image available > here: https://github.com/openmeetings/openmeetings-docker > > On Mon, Jun 12, 2017 at 11:07 AM, Siovel Rodriguez > wrote: > >> Hi, Maxim. I create a Openmeetings cluster with docker, specifically >> with docker swarm. The architecture is as follows: >> >> Haproxy (Load Balancer) >> | >> om1 om2 om3 .. omN >> | >> Mysql >> >> All this is done with containers and I'm trying to make the OM containers >> dynamic (elastic) in such a way that more users, more containers and vice >> versa when the number of users decreases fewer containers. I happen to >> want to see from the openmeetings web interface the users connected at any >> moment to each container of openmeetings, the traditional way of creating >> cluster does not serve me because it is a rather static form. Any help >> would greatly appreciate it. >> >> Regards >> > > > > -- > WBR > Maxim aka solomax >
Re: Openmeetings Cluster with Docker
Hello, sorry for the late reply, I was on vacation :) I'm not sure this is possible, currently restarting is required to update persistence.xml and let know OpenJPA the nodes has been changed Maybe you know how this can be implemented "elastic way"? Additionally please read this thread: http://markmail.org/message/57hv7r7cbu2mulc4 BTW are you using your own docker? I have created Docker image available here: https://github.com/openmeetings/openmeetings-docker On Mon, Jun 12, 2017 at 11:07 AM, Siovel Rodriguezwrote: > Hi, Maxim. I create a Openmeetings cluster with docker, specifically with > docker swarm. The architecture is as follows: > > Haproxy (Load Balancer) > | > om1 om2 om3 .. omN > | > Mysql > > All this is done with containers and I'm trying to make the OM containers > dynamic (elastic) in such a way that more users, more containers and vice > versa when the number of users decreases fewer containers. I happen to > want to see from the openmeetings web interface the users connected at any > moment to each container of openmeetings, the traditional way of creating > cluster does not serve me because it is a rather static form. Any help > would greatly appreciate it. > > Regards > -- WBR Maxim aka solomax