Git Product home page Git Product logo

Comments (7)

AloyASen avatar AloyASen commented on July 21, 2024 1

maybe you need Kubernetes for your deployments ... you dont need to touch your code for that purpose

from accelerator.

cracker0dks avatar cracker0dks commented on July 21, 2024

hey, you don't need much 4vCpus 2gig Ram will probably be enough for a 10 People session. But it also depends on your settings...
Please take a look at the /configLoader.js there we explain all the settings. Set: "enableClientVideoProcessing" to true (in you /config/config.json) so the server don't need to encode video.

from accelerator.

MudrekaBohra avatar MudrekaBohra commented on July 21, 2024

hi i want ti cater to 17000 students how to achieve this and there will be around 40 students per meeting

from accelerator.

cracker0dks avatar cracker0dks commented on July 21, 2024

We never tested with this amount of people but the plan should be as followed.

You need to loadbalance, so first define one server as master and test there if it works in general. Then change the config.json so you have less load on all the servers.
For the least amount of server load define the config.json of the master server:

"enableGlobalVideoProcessing": false,
"enableClientVideoProcessing": true

This way the server will not encode the video data.

Then you need to spin up loadbalancers. You can start the same container but with a different config to be a loadbalancer. So start up a new instance and copy/past the loadBalancerAuthKey from the master server into the config.json also set master=false and set the masterURL to the url of your instance.

This will loadbalancen every room to a different server if possible (or the server with least clients)
If this is working for you so far (you should see a log output on the master console everytime you spin up a new loadbalancer). I would change enableLocalMCU to false on the master server so it can focus only on sending socket requests.

All config parameter are explained here also: https://github.com/cracker0dks/Accelerator/blob/master/configLoader.js

Again: please keep in mind this not tested for such amount and maybe will just overload the master servers socket requests. So try to start slowely and maybe consider more then one master with loadbalancers.

greetings :)

from accelerator.

MudrekaBohra avatar MudrekaBohra commented on July 21, 2024

hi thank you for the explanation really appreciate it, as you have stated in the main documentation that a single instance can be used to cater 250 user so what is the minimum requirement for such an Instance (Which could have 250 Users)

from accelerator.

cracker0dks avatar cracker0dks commented on July 21, 2024

Hard to say we had 50 Students on 24vCPUs (~2.2Ghz) on 50% Load. Depends on the clock speed of your cpu. Greetings

from accelerator.

emaalouf avatar emaalouf commented on July 21, 2024

We need to be exactly be sure on how much approximately a server can handle and we need to know if the scaling can be done vertically or just horizontally, in other words, if the system can work better with more CPUs and RAMs or should we add more servers, I am willing to start a test group of that or if @MuderkaBohra tried it and can tell us how did it work!

Thanks

from accelerator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.