However, Docker provides advantages as well. Running on Docker without volume mounts is multitudes faster. I investigated a bit and the culprit was volume mount performance (as expected). Compared to other setups like using a VM provided by VirtualBox or running bare-metal directly on the machine. The performance has been lacking, to say the least. I’ve been using Docker for local development for some time now. I’ve added an environment variable that allows disabling it on Docker run if I don’t need to debug. XDebug increased Drupal response times by about 5–6x. Issues with intentional mass file changes being prevented by Mutagen safety mechanisms. Development experience not ideal due to delays until files are synced. Mutagen causes high CPU usage when using multiple syncs. Performance improvement by using Mutagen compared to NFS volume mounts: ~25%. Comparing MacOS Docker performance with Linux. Testing if using Mutagen improves performance in comparison to NFS volume mounts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |