DEV Community

Discussion on: 4 steps to improve Laravel + Docker performance issues

Collapse
 
chrisshennan profile image
Chris Shennan

I'm aware OSX and Windows had performance issues with docker in the past and docker sync was developed in order to help remove some of those issues for OSX & Windows users.

Some of those earlier performance issues have been improved over the years as docker has improved, and as for me, I'm developing on OSX but until recently I didn't have a big enough issue with performance to require me to do anything.

If the responses you are getting from your docker project are already fairly speedy then you might not get a massive improvement by enabling docker-sync, but this might change depending on what type of project you are working on i.e. a single, self-contained application or having multiple applications running if you are developing and integration micro-services.

Collapse
 
cavo789 profile image
Christophe Avonture

Hello

I'm running a PHP codebase (big one) and a web server, redis cache, pgadmin interface and some others in my docker-compose.yml file. I've four applications like that (PHP and Apache for the others). This is a very big application splitted into smaller blocks.

As far I can see, there is no sync issues at all using Docker and Windows/WSL.

I've started to read documentations about docker-sync yesterday, I think I didn't need that one, I think like you said, Docker has made a lot of improvements for this.

Have a nice day.