DEV Community

Discussion on: Speed up Laravel in Docker by moving vendor directory

Collapse
 
juberjj profile image
Juber Nunes

Great article. One thing that you could do to improve performance would be by having Swoole installed and enabled. Very little change on your main codebase but the gains are unreal, 800% or thereabout. I have dockerized a PHP App with a real performance issue, developers were using a convoluted Laravel Homestead before and Opcache enabled didn't do much.Once we wrapped it with Swoole the entire App became very responsive, requests per second were amazingly fast.

Collapse
 
tylerlwsmith profile image
Tyler Smith

I plan to try Laravel Octane at some point!