Server specification for 18000 users moodle site

Server specification for 18000 users moodle site

by Dr. Amitkumar Mali -
Number of replies: 12

Hi,

I want to know the server specification for a moodle 2.x site which may have 18000 users out of which 1800 concurrent users. I prefer linux hosting. 

Please suggest good webhosting provider for the proposed moodle site. Earlier I could manage 200 -300 user sites hosted on siteground and godaddy. My experience with Siteground is better then godaddy.

Initially the site will be used for online examination only, later on it is planned to have a full fledged online learning course. The project is not for profit so I cann't afford moodle partners.


Average of ratings: -
In reply to Dr. Amitkumar Mali

Re: Server specification for 18000 users moodle site

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

1800 concurrent users?

The first thing you need to do is to explain in detail how you arrived at that figure. Mentioning huge concurrency numbers quickly followed by "I can't afford Moodle Partners" rings lots of alarm bells for me. 

Your concurrency figure needs to be correct, or at least in the right order of magnitude or you will get your hardware requirements completely wrong. To give you an idea, I would suggest that to get a reasonably fast system for 1800 users you are looking at, possibly, four load-balanced front-ends, a substantial database server, a cache server....  Seeing as you are asking, you will also need someone who knows how to set this up properly. A Moodle Partner perhaps? wink

Average of ratings: Useful (1)
In reply to Howard Miller

જઃ Re: Server specification for 18000 users moodle site

by Dr. Amitkumar Mali -

Dear Miller,

Thank you for your prompt and witty reply smile

Basically I am a teacher, having some interest in Moodle. I do not have much knowledge about moodle as you have. After spending few years for translating moodle, I learnt few about installing a moodle and managing a site of 200 -300 users (30 - 40 Maximum concurrent users, and the site runs well on shared hostings also). 

The project will cover nearly 600 classrooms having average 30 students in each class. The authority asked me that at a time 10% will give the examination (will take part in quiz). Thus I calculated the users. As suggested by the page: http://docs.moodle.org/24/en/Performance_FAQ, there may be maximum 1000 concurrent users actively requesting a server for quiz at a time.

As I mentioned clearly in my post, the project has nothing to earn, it is for the benefit of rural school students who has access to internet with the financial aid of government but do not have subject expert teachers. Hiring services of Moodle Partners is not possible at the moment. 

Thanks again for the reply.  

In reply to Dr. Amitkumar Mali

Re: જઃ Re: Server specification for 18000 users moodle site

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

Without any money, how do you plan to acquire the server for your endeavor?  I doubt that any of the "free" moodle sites can handle your expected load.

In reply to Rick Jerz

Re: જઃ Re: Server specification for 18000 users moodle site

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

^^ what Rick said. 

Can we look at this from the other end? What is the budget for this project? Having thousands of users all taking a quiz at the same time is about as bad as it gets. This will indeed need significant amounts of hardware and careful configuration. Definitely not your first Moodle project....

In reply to Dr. Amitkumar Mali

Re: જઃ Re: Server specification for 18000 users moodle site

by Usman Asar -
Picture of Plugin developers Picture of Testers

I would suggest going for sponsors in that case, that will fund out your cluster to cater the needs of that many users at a time as quiz being the MOST power hungry application in Moodle.

btw, you must have some Budget in hand, how much is it?

In reply to Dr. Amitkumar Mali

Re: Server specification for 18000 users moodle site

by G. M. -

Hello Amitkumar,

Given the previous answers and your requirements, you will have to think the other way round, that is, you will have to make do with the best you can get, whatever your budget may be, and then plan how to schedule examinations (divide the 1800 users in groups and have each group take the test at a particular time) so you don't exceed the limitations of the server's resources (e.g. memory, bandwidth, speed).

Average of ratings: Useful (2)
In reply to G. M.

Re: Server specification for 18000 users moodle site

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

Amitkumar, I actually do a form of what Guillermo is suggesting on my (much) smaller moodle site.  Whenever I give an example, I let the "start time" be anywhere within a 24 hour day, and I make these exams be timed.  This minimized concurrent Enter key presses.  On my moodle, most database queries take under 2 seconds to acknowledge by moodle.

Around 3 or 4 years ago, I was running my Moodle on a hosted server (somewhat low powered), and gave a 2-hour long exam in class with around 40 students.  At the beginning of the test, I had my highest lever of concurrency (i.e., everyone was logging into Moodle at about the same time.)  This was in moodle 1.9, and yes, some students experienced a short wait, but within 3 to 4 minutes, everyone was in.

I really like using an asynchronous model for delivering my courses.  This somewhat naturally disperses concurrency.  Even this summer, I made due dates for one course be Monday and Thursday, and in the other course Tuesday and Friday.  I did this to not only balance the load on the server, but also to balance the load on the instructor, which was me!

But quite honestly, if you were to tell all 1800 student that they had to being an activity by clicking on the activity button at exactly 10:00AM, you will probably have some problems.  This is probably "Amazon-like" activity, and even Amazon would be stressed to handle this load without any budget for IT.


Average of ratings: Useful (1)
In reply to G. M.

Re: Server specification for 18000 users moodle site

by Usman Asar -
Picture of Plugin developers Picture of Testers

This is a good possibility, BUT then there is problem of quiz being leaking out to those who will be taking test/quiz later on unless Amit comes with different quiz/test for different regions/schools.

In reply to Usman Asar

Re: Server specification for 18000 users moodle site

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

Agreed.  One needs to deliver random questions, and also utilize variables within questions (for numeric answers).  Of course, the larger the test bank the better.

Average of ratings: Useful (1)
In reply to Rick Jerz

Re: Server specification for 18000 users moodle site

by Itamar Tzadok -

Variables work for non-numeric answers just as well.

The dog smelled a smelly thing

Smelly things:

  • A cat.
  • A dog.
  • A car.

"The dog smelled a cat" and "the dog smelled a dog" are both correct answers in the question's context. "The dog smelled a chair" is not a correct answer in the question's context.

smile

In reply to Itamar Tzadok

Re: Server specification for 18000 users moodle site

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

What question type are you referring to in Moodle that allows for variable non-numeric answers, as in your example?

In reply to Rick Jerz

Re: Server specification for 18000 users moodle site

by Itamar Tzadok -

The cloze shortanswer is a naive but good enough example.

The dog smelled a smelly thing.

Smelly things:

  • A cat.
  • A dog.
  • A car.

The dog smelled a {1:SHORTANSWER:%100%cat#~%100%dog#~%100%car#}.

More sophisticated examples have probably not been released to the public domain yet but undoubtedbly in use.
smile
Average of ratings: Useful (1)