4 ms·
I think the consistent prod/dev env is overhyped. Almost all of my prod/dev bugs are due to prod-only optimizations and not because of different environments. I
by trinovantes 5y ago
I think the consistent prod/dev env is overhyped. Almost all of my prod/dev bugs are due to prod-only optimizations and not because of different environments. In addition, the virtualization breaks a lot of dev tools (e.g. my debugger consistently breaks or randomly stop listening).
That being said, I still use docker to create a production image. I think Docker is great for deploying a single "entity" to a remote machine. No more forgetting to install dependencies, copy assets, configure auto restart etc. on remote machine.
- prepend 5y ago> Almost all of my prod/dev bugs are due to prod-only optimizations and not because of different environments. I’ve found this is because of the work to keep prod/dev consistent. When I didn’t have automated builds the same in all environment there were lots of bugs with packages, paths, environment, etc. Getting rid of all those just leaves the prod-only optimizations you now see.