jobcespedes / docker-compose-moodle

This project quickly builds a local workspace for Moodle (Apache2, PHP-FPM with XDEBUG y Postgres) using containers for each of its main components. The local workspace is built and managed by Docker Compose
Apache License 2.0
52 stars 28 forks source link

Performance issues #13

Closed Pra3t0r5 closed 3 years ago

Pra3t0r5 commented 3 years ago

I'm starting to have a somewhat bad UX because of long response delays (~4 to 15 seconds depending on the task), even if i'm the only one using it (and the server where it is running is quite powerful) I was wondering if you have had a similar problem, and if so, how did you tackle it?

jobcespedes commented 3 years ago

Hi,

This project has been used mainly for developing. It has some config tuning but only for basic moodle develop instances. In case of perfomance tuning, it might be a good idea to check every component config as well as moodle and docker itself.

I would start checking the logs and trying to figure out what component is the bottleneck: apache, php-fpm, postgres, docker or moodle.

You might want to check out some links about moodle perfomance (if not already).

It might be possible that docker itself is preventing more resources provision. However, I not sure if it does it by default.