Aug 14, 2020
0
Level 1
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.
Please or to participate in this conversation.