5

Duck! this sloppy whiny winnfsd.

Yay! Let's use state of the art Docker with a VirtualBox VM on Windows10.

Don't get me wrong.
The Docker containers in this VM doing a great job on performance.

But in the very moment a Docker container uses a mounted folder via the windows network filesystem, all hell is breaking loose.

Building a vendor folder using a composer Docker image with 84 Packages takes about 15 seconds when cache has been warmed up.

The same Docker command pointing on a folder mounted to Windows Filesystem with warmed up cache takes about 10 Minutes!@&&@""+&

And what is the duckin' reason for this delay?
Because every transfer of a teeny tiny file has to establish a connection to fat ass Windows OS and has to pass it's glorious "security" layer.

DUCK it!
For real.

I currently working on a shell script which builds the whole vendor folder on a volume on Docker VM.
After completion, the shell script will compress the folder to one file.
This one file will be transferred over this god damned network filesystem.
Finally the script will unpack the compressed vendor folder in it's destination folder.

*sigh*
What year is it?!??

Comments
Add Comment