I've just built a system using Moodle. The requirement is that the login function should not take more than 3 seconds for 90% of the time with 200 concurrent users.
For the JMeter configuration, I've set up the following:
- Number of threads (users): 200
- Ramp-up period: 1 second
However, the results consistently show a login time of around 8-10 seconds
Here is the benchmark scores:
My system specs are quite good:
Moodle runs on 2 servers:
- CPU: 4 vCPUs
- RAM: 16GB
- SSD
The database instance also has 4 vCPUs and 16GB of RAM.
I've tried using Apache2 with upgraded workers. Then, I switched to NginX and updated PHP-FPM to 25 workers, but the issue remains the same.
Additionally, I'm using PHP APCu and PHP Opcache.
So, I'm here, looking for some help from you guys.
Thanks so much