hardware requirements for 500 concurrent users

hardware requirements for 500 concurrent users

by abdelrhman Al-tawdy -
Number of replies: 2

hi all

thanks for moodle project and the helpful active forum 

we are in the process of purchasing hardware for a server to run Moodle  that would support 2000 users with estimated concurrent users 500 "taking exams or serving the learning site or watching videos (videos would be in the server not in a internet video hosting  server )" we would use linux  ,I had read in the forum

#Moodle 1.7 Quiz Handles 300 Simultaneous Users on One Server

https://moodle.org/mod/forum/discuss.php?d=68579

thanks for hem he is giving a lot of information about his setup and statistics of running environment but that is for old version and we are going to run the new version 2.7 so 1- i dont know if i can count on his statistics to run the new version

 #rule of thumb moodle  The 1G per 50 concurrent users

i read this rule a lot in the forum and i know that concurrent users is "the 50 person is requesting things at the same time and the server would handle there requests" 2- am i understanding it correctly and 3-  is this rule is also applicable if the users are watching videos and 4- what about the processor 

5 - is there any one  running the new version can share with us his hard ware configuration and how many users his hard ware had supported and the percentage of usages of  processor ,ram and network from his hardware  

i know that i am asking basic questions...but i couldn't be sure from there  answers 

thanks 

best regards 

Average of ratings: -
In reply to abdelrhman Al-tawdy

Re: hardware requirements for 500 concurrent users

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

If you want to be sure, the only option is to set up your Moodle site, and do some load-testing using JMeter, or a similar too, to simulate the type of load you expect.

Average of ratings: Useful (1)
In reply to abdelrhman Al-tawdy

Re: hardware requirements for 500 concurrent users

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hi Abdelrhmen

You wrote:
> we are in the process of purchasing hardware for a server to run Moodle that would support 2000 users with estimated concurrent users 500 "taking exams or serving the learning site or watching videos (videos would be in the server not in a internet video hosting server )"

Yes, this type of questions arises often in this forum. (Skim through past discussions. "Googling" is not the same thing. If you are that type, try the Moodle Advanced search: https://moodle.org/mod/forum/search.php?id=5 ).

> we would use linux ,I had read in the forum

Yes, most of the regulars here are either Linux or BSD. So Linux is never a bad solution, provided you have some affinity with its oddities. (Here is a recent negative example, "From Windows Server to Linux" https://moodle.org/mod/forum/discuss.php?d=278245.

> #Moodle 1.7 Quiz Handles 300 Simultaneous Users on One Server
> https://moodle.org/mod/forum/discuss.php?d=68579

Ha, ha, ha! Seven years and ten major versions ago!

Still, I wasn't aware of that discussion. Thanks for pointing it out! (Perhaps I should learn "googling"! ;)

> thanks for hem he is giving a lot of information about his setup and statistics of running environment but that is for old version and we are going to run the new version 2.7 so 1- i dont know if i can count on his statistics to run the new version

No, not at all.

> #rule of thumb moodle The 1G per 50 concurrent users

This rule of thumb (and contradicting "rules") circulate here. Accoriding to this recent post, "Re: How many concurrent users should my hardware support?" https://moodle.org/mod/forum/discuss.php?d=277791&parent=1197115, it is approaching 10 per GB.

> i read this rule a lot in the forum and i know that concurrent users is "the 50 person is requesting things at the same time and the server would handle there requests" 2- am i understanding it correctly and 3- is this rule is also applicable if the users are watching videos and 4- what about the processor

There is no general agreement here. (Search the forum). This is what https://docs.moodle.org/27/en/Performance_FAQ says: https://docs.moodle.org/27/en/Performance_FAQ#How_do_you_define_.22concurrent_users.22.3F.

> 5 - is there any one running the new version can share with us his hard ware configuration and how many users his hard ware had supported and the percentage of usages of processor ,ram and network from his hardware

Not much use to you. See the prev. answer from Tim Hunt.