Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

manuks's avatar

Help to build low php-fpm,nginx and high DB power Docker to scale performance

Hi, Anyone can help me to build a containerized laravel project, current project uses horizon for queuing jobs. I used a 40$ droplet from the digital ocean, eventually, MySQL started to eat all the CPU and hence site began to slow down.

I tried to separate DB from the current server and made managed digital ocean DB,

PHP server working better 0 loads and the latency from managed external DB causing higher lag in getting reports.

Is there any way to contain all in one server with dividing resource for better performance without affecting one another.

0 likes
0 replies

Please or to participate in this conversation.