![]() This is very specific to my local setup, my production setup, and the type of Lucee CFML code that I am running. In this video I test the M1 MacBook Air vs Ryzen 7 Lenovo ThinkBook in a Docker test as I deploy a container and run a Node application.Machine specs: MacBoo. It can simplify both the development of an application as well as deployment and management of it. Nor is it meant to be extrapolated into all forms of File IO. Docker today announced that it has launched a new version of Docker Desktop for Mac with Apple silicon support, allowing developers to use the. Speeding Up Docker Development on the Mac Kelsey Anderson 27 March, 2022 Docker is a helpful tool for both developers and ops. Which begs the question: how does the local File IO penalty compare to a production Lucee CFML server which is also running containers but is much closer to the metal? It turns out, the File IO in my Docker for Mac is 68-times slower than it is in production.ĬAVEATS: This is not meant to be a blanket statement for all Docker setups. So, if you mount lots of files as a Docker volume, you will always get problems, period. And, File IO is notoriously slow in Docker For Mac. If you have ever worked with Docker on MAC (or Windows without a recent linux subsystem), you know that working can be really, really slow at least if any significant I/O is involved. It turns out, when using the tag, Lucee CFML is doing a massive amount of File IO (Input/Output), resolving the CFML file on every invocation (which I've filed as a bug). ![]() After pouring weeks of personal time in my ColdFusion custom tag DSL for HTML emails, I was a bit gutted when I went to apply the methodology in my local InVision code only to find out that it was running very slowly inside of my Docker for Mac container. ![]()
0 Comments
Leave a Reply. |