Virtual servers for MySQL are popular but are they the
answer? Should we be containing our instances instead. An Updated Performance Comparison of
Virtual Machines and Linux Containers is an interesting study
of using containers over VMs by four brilliant folk from IBM
Research in Austin. There are several benefits to containers that
are detailed in the study.
So what is wrong with VMs? IBM has been using them since the 1970s. Well, VMs have a static number of virtual CPUs (vCPU) and a fixed amount of RAM that bound performance. And each vCPU can only use up to one real CPUs of clock cycles. Since each VM is a Linux process, resource management like the scheduler come into play.
Containers? They are built on the kernel namespaces. A container acts like its own little Linux box but …
[Read more]