Guess I got carried away by the rush I felt when I eAccelerated my Moodle site, plus mod_deflate on-the-fly compression and even that Apache header expires thingy. And YSlow Yahoo optimsation best practices. I felt the need..the need for speed!!! And more speed please. Like the Titanic, I wanted to go faster. Why because I want to see a day when 25 students logon to http://www.moodleace.com, take a 60 question-quiz and not see a single lagged white screen showup. Heh.
So when I read about Nginx, I thought wow, goshdarn...those Russians, first the T34, then AK47, then the Hind, SU-27 1.5 Flanker flight sim, then IL2 Flight Sim and then now Nginx....minimal specs, crude but effective and what awesome performance!
I read about Nginx being anti-bloatware, running on some Megabytes against Apache's using 300Mb RAM for multiple threads, etc.. the whole hype. Was it really all just hype?
Well I wanted to try it out for myself. You know, set up a lean-mean-fast-nginx machine with Moodle running on it. Pit http://www.moodlefreak.com against http://www.moodleace.com in a showdown of optimisation server benchmark data. And then finally, announced to the civilised world Moodle.org, that, hey it's not hype after all. This thing really rocks Apache's world.
Anyway, your explanation is very informative, logical and makes lots of sense really. Why would anyone in their good mind want to cache dynamic data and mess up the teacher's mind and sanity? Am I convinced of your learned arguments? Impressed yes.
Convinced? Well I should be by now..but.., I've already rented one month's worth of a new VPS and I'm willing to go the full mont...erm.. full hog to install an alernative Moodle setup - against the better advice of the more experienced ones.
If I succeed in getting "nginxed" http://www.moodlefreak.com to outperform "LAMP" http://www.moodleace.com, then GREAT!! Your reading all this, and you're probably saying "Well, good luck with that!".
However, If I fail big time, then in the spirit of Thomas Edison, I didn't fail, in fact I learnt so much more about servers, VPS, what makes Moodle tick and how to make it go faster or in the end, what doesn't make it go any faster. And my 2nd VPS becomes the proverbial sacrificial goat.
I also have this very useful VPS tool: backup and restore of VPS container. So if I make a mess out of the server and corrupt it outright, to the core...I can then restore the container to its previous working state. Lastly, I can cancell that VPS subscription within the first 30 days right? At least that's what the legal stuff says on my Web Host's website. Now you know where I am coming from. So is there "method to my madness" then?
Anyway again, here's my Munin images of my first VSP http://scm.moodleace.com, the one I am trying to tweak so that it can outrun the Titanic - in all its glory. I've LightGalleried them here. Guest access allowed. But not for long...maybe just for 1 week. What do you make out of them images, Greg?
You're looking into the very soul of my Moodle VPS. All its glory and warts, but for the love of me, they're all colourful pictures to me - it's all Greek to me. Greg, can you tell me the story that those graphs, charts and figures are telling you?