Working with the content heavy LMS website is not easy task. Today, I come across the problem where site is getting slower when concurrent users are hitting system at the same time. Our client has set up LMS in their network which should be accessible on internal as well as external environment. There are a million ways to boost your LMS site performance. The three main areas that should work on first Hardware (Web server)/Network set up, Server side scripting Language and front end performance.
• Network Set up
You could ask list of questions to client about their network setup.
1. Reducing the number of unique hostname may increase response time.
2. How much network bandwidth in internal network?
3. How many workstations running in internal network and how much far from application server?
4. How many VM loaded on the Single Host?
5. Adding second NIC on application server
6. Memory overcommit on VM
7. Protocol acceleration for high latency
8. Out-of-band management can improve overall network performance through greater uptime
9. Adding caching/media server
• Web server side
1. Adding eaccelerator on Apache web server
Here is link for download eaccelerator :
PHP.ini setting (Make sure you have right version of eaccelerator based on PHP and thread/no- thread version)
eaccelerator.keys = “shm”
eaccelerator.sessions = “shm”
eaccelerator.content = “shm”
eaccelerator.allowed_admin_path = “C:\test\eaccelerator\control.php”
2. Adding compression method on server.
You may need to add the mod_gzip compression on your server.It will help the PHP,HTML,CSS pages will be compressed before sent to the users’s browser.This reduces the file sizes of the transfer, which also reduce the connection time between your moodle server and client’s browser.So it should translate faster page loads!
Link for compression method:
• Front-end side