Hi all,
Currently, I am facing some serious performance issues with my F3 site. I don´t know what is going wrong here. Maybe it is related to F3, but it is also possible it is something else. In case of the latter: maybe one is able to share some experience with me :)
First some technical specs. I am running my site on a vps with 8 cores and 8.192 MB. The host itself runs on Ubuntu, but I am running F3 isolated in a separate Apache Docker container (
this one).
Docker is not limited, which means the container is able to use all resources of the host (theoretically). My Apache configuration is as follows:
...
Timeout 30
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 3
...
Furthermore, I've enabled F3 on-disk cache option, and also caching most of the static pages. Furthermore, most database queries are cached for several minutes to speed up some things.
Now the hard part. I am performing some load tests with
loadster.io and found that even with 50 concurrent users the site itself begins to slow down. p90 load time hits a wopping 6 seconds, and when I am trying to increase the number of concurrent users, I am actually DDoS-ing myself.
When I am running Docker stats, I see that cpu is above 500 per cent, which is quite high. Memory, however, keeps on a healthy diet, so that's no issue.
I tried some things already to speed up some stuff. For instance, I cleaned up some Apache modules, cleaned up .htaccess (which holds some records to block bots), turned off cron jobs, disabled the caching engine, rewrote all file operations to database operations, but nothing helps.
Please, can someone point me to the right direction here?