I've shipped my Laravel based platform to a production server but with little to no users online page loads are still above 1 second, around 1,5s. There's little to no data in the database. I've optimized with the several php artisan cache commands. I've full control over the server, as it's a VPS from a large Dutch cloud service provider.
The server is running CentOS 7.
When inspecting load times using top
on the server, I see PHP (php-fpm81
) has around 35% CPU usage while handling a page load. Other than that I see high CPU usage for a process datasq
, around 150%. However, I don't feel this is related as other user's website on the same VPS runs perfectly fine (e.g. a clients Wordpress site performs good)
I'm not sure where to look for answers. Any suggestions on how to improve performance? When shipping to a broader public current performance won't retain users.