3 ms·
Well, I lost nearly half the article asking myself why would somebody ever run a single container per VM... They got a bug that made container-running VMs unrel
by marcosdumay 10y ago
Well, I lost nearly half the article asking myself why would somebody ever run a single container per VM... They got a bug that made container-running VMs unreliable, thus did a non-test using what they got available.
I'd be more interested on articles that actually tested it running how it was meant to. Or, if you can't, just stop there and say "there's a showstopper bug, it wouldn't work for us" - those are useful articles too, and require much less effort.
About databases, mostly anything¹ you put between them and the hardware will hurt you. VMs are bad too. What I can't imagine is how you would create and destroy database instances at will - I might live in a different reality, but around here you'll always want as few database nodes as possible, and as a consequence, as powerful and reliable nodes as possible, what means as little moving parts as possible.
1 - What won't hurt is a disk abstraction layer designed for performance and as expressive as the original physical stuff. This is widely used with the "SAN" name, and I'm willing to bet you can mount one inside a container. But well, on AWS you really won't.
- pbecotte 10y agoWith a database, the data itself is the important part- using something like Kubernetes combined with persistent volumes (GCE or EBS) lets you easily move a running database between VMs with minimal effort. You run the program however you want, and let the orchestration layer bring the persistent data to wherever that program is running.
- user5994461 10y agoThe critical bugs left are actually race conditions. They happen rarely, more often under high load. Everything was fine in testing, everything was fine in production... at first. Fast forward a bit. More application put in docker, a lot more load in both testing and production. Things go wonky. If we ran our current systems in Docker/Debian from January, a host would crash every hour and we'd have figured out the unstability. Instead the docker adoption happened slowly, while a few patches (and temporary regressions) were released along the year.