Would this server be powerful enough?

Would this server be powerful enough?

by Nathan Bellato -
Number of replies: 8

Hi all

I'm trying to set up a moodle for roughly 30 concurrent user (300 users in total) to access some eLearning. The eLearning modules are about 15mb each.

I was thinking of running a VPS with the following spec:

 

Disk space: 60gb

Bandwidth: 350gb

RAM: 2GB

CPU's: 3

Would this be powerful enough or will I need to go up a spec.

 

Cheers in advance.

Average of ratings: -
In reply to Nathan Bellato

Re: Would this server be powerful enough?

by Don Hinkelman -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Nathan,

In my experience from several years ago, I would say, yes that's enough because its a VPS.  I have tried basic shared hosting services and 20-30 concurrent users was the limit before it slowed down, particularly with multimedia quizzes.  I was always advised to upgrade to a VPS.  Anyway, I hope you get some more recent advice than mine.

Don

Average of ratings: Useful (1)
In reply to Don Hinkelman

Re: Would this server be powerful enough?

by Albert Ramsbottom -

Should be OK, just a little more RAM and maybe 2 processors

 

Albert

In reply to Nathan Bellato

Re: Would this server be powerful enough?

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

Depends what your users are doing. Will the database be on the same VPS or somewhere else? What operating system are you running? You could easily be in a situation of having no more than 1G of RAM for Apache and that's probably good for between 10-20 concurrent users in newer versions of Moodle. 

So, I would say it is marginal. If you are planning on running Windows it probably won't work. I would recommend a minimum of 4G RAM to be safe(r).

Also watch out for general VPS performance. Newer versions of Moodle are quite sensitive to disk subsystem performance (due to the caching provision). A very slow virtual disk will kill your site.

In reply to Howard Miller

Re: Would this server be powerful enough?

by Nathan Bellato -

Hi,

The databases will be running on the same VPS so it is a concern. I will be running Ubuntu unless you suggest I run a different OS. I have not yet set it up so I can easily change the OS.

The users will be using the SCORM player to open the file, which will be a Flash file (as it is an interactive eLearning program).

 

Basically Moodle will only run the one course. They will not be required to upload anything. The site layout will also be basic so it doenst need to load a lot of graphics if this helps.

In reply to Nathan Bellato

Re: Would this server be powerful enough?

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

Yes, Ubuntu Linux has also become popular as a server OS, but then people mean Ubuntu Server http://www.ubuntu.com/server not the bloated and confused desktop flavours they produce. See the recent side discussion https://moodle.org/mod/forum/discuss.php?d=246408#p1088983 on Linux distributions.

To your original question: The VPS could even be over-dimensioned. SCORM is a bit bulky but flash run on the client. But then the difference in price between a shared hosting and a VPS is usually nothing compared to the other operating costs.
In reply to Visvanath Ratnaweera

Re: Would this server be powerful enough?

by Nathan Bellato -

OK, I think I will go for a upgrade to provide a better product (and save issue of potential crashing).

I think I will go with 4GB Ram and 4 CPUS.

I gather that this sort of spec should be safe??

 

In reply to Nathan Bellato

Re: Would this server be powerful enough?

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

I am running my Moodle site on a GoDaddy VPS with similar specifications, about half the student load that you are planning for.  I find that I get pretty good performance with Moodle 2.6+.  Most pages display in about 1 to 1.5 seconds (sometimes faster, sometimes slower) for me.  Of course, being the administrator, I see slower times than students are probably seeing.

I am careful about distributing due dates among my 4 to 6 courses.  For example, I do not make all assignments in all courses due on Friday night.  If I did this, the load on my Moodle would be high on Friday evenings.  Even for timed exams (quizzes), I give my students a window span of one day to do these.

This semester, I tweaked the mySQL settings, and am trying Opcache.  I will have a chance to see how it goes.