Moodle cluster (high availability and load balance) with Raspberry pi 4

Re: Moodle cluster (high availability and load balance) with Raspberry pi 4

by Visvanath Ratnaweera -
Number of replies: 0
Picture of Particularly helpful Moodlers Picture of Translators
Hello Eduardo

Yes, if (academic) curiosity and fun play a major role, every journey is worthwhile - within bounds of course. For example, to prove that there is an yet smaller particle (energy? wave? hole?) scientists burn zillions of energy and then warn us that the ice cap is melting!

 On dedicated servers there is something similar. The purchasing price is one thing the (environmental) price of burning energy 7x24 is often conveniently overseen. In that sense the R Pi has an edge.

If you want get to know on the capacity of R Pi as a Moodle server, you could just take two, one as the web server / cache server and the other the database server. Generally the web server is CPU heavy, cache server and the database server are heavy on RAM. The database server also sensitive to disk I/O. So a R Pi 4 B 8 GB model is the best R Pi out of the current models. Using an SSD drive in place of the SD card should give a boost in I/O.

As already mentioned, study how MoodleBox is tuned. Don't depend on Moodle Bench https://moodle.org/mod/forum/discuss.php?d=335357 as a performance indicator https://moodle.org/mod/forum/discuss.php?d=393752. Only a true load test, like JMeter https://docs.moodle.org/dev/Load_testing_Moodle_with_JMeter, will measure the performance under load.

This forum is a knowledge base on everything Moodle and performance. Pl. make use of the excellent advance search https://moodle.org/mod/forum/search.php?id=5.

Finally please do post your findings here in the forum. There are always others looking for the same.