We are currently struggling with our web server getting overloaded with too much IO. For example every Tuesday we have handins at 10am. This could lead to 500 users uploading their assignments at once.
Some background on our environment:
- We have DRBD setup
- Our webserver syncs to a failover box web server
- We have a seperate database server that replicates to another failover box
Some of the problems we ran into are automated backups. There would be so many writes for the backup files and these would also get sync'd across to our failover box. This would pretty much bring the site to a halt. We have mitigated this but pushing all backups to a folder that is not included in our DRBD solution, but the problem still persists with general influx up user uploads. We are also using caching and a couple of other tricks, but it is starting to feel to hacky.
Anyway I see quite a few posts with people saying moodle can go up to 10000 users and more.
How do people manage this? What if 1000 people all uploaded an assignment that is 3 mb? This has been a huge pain for us and we would appreciate any input.