3 ms·
I have taken over "incredibly simple PHP/MySQL" apps that ran on a single server, and let me tell you: Over a year or two of hosting it can easily happen that a
by vidarh 12y ago
I have taken over "incredibly simple PHP/MySQL" apps that ran on a single server, and let me tell you: Over a year or two of hosting it can easily happen that a poorly set up environment (it was running on a single server - it's by definition a poor setup, lacking HA...) will end up costing the business more than 50-100 hours in mitigating the consequences of poor configuration management.
You just won't notice, because it will be 10 minutes here, 20 minutes there, and/or "emergencies" where the time spent will rarely be attributed back to the same original project, so most people don't see how much it costs them to have skimped on the original investment.
To me, these tools make sense from 1 machine, and you start seeing serious benefits once you have two (all the investment you did for one machine? You've now mostly halved the investment per machine, since you have a set of containers you know how works ready to go; you have some additional complexities as your cluster grows, such as orchestration across machine boundaries, but amortised per machine the cost seems to keep dropping)
If anything, what we are seeing is that these tools get people to do things that were easy to ignore before, causing people to think they were done setting up their environment because they had a server running the production code.
Never mind how often these setups have been unreproducible, with poor isolation, no failover/ha setup. They're cheap until they're not. And most often they're not - just that people don't really notice how expensive they get because the time is never fully attributed back the right places.
- vacri 12y agoWhat you're arguing for here is a configuration management tool, not docker specifically. Puppet is massive overkill for a couple of servers, Ansible is easy and ideal for it, and Docker is overkill as well. Docker only makes sense "for 1 machine" if you already know Docker and all its warts.