3 ms·
Containers are efficient(and most likely the future) for PaaS/SaaS type of applications, where individual Instance (VM/Container) is not treated as a "computer"
by alinspired 13y ago
Containers are efficient(and most likely the future) for PaaS/SaaS type of applications, where individual Instance (VM/Container) is not treated as a "computer" or Infrastructure.
Another benefit for PaaS/SaaS is that you don't necessarily sell RAM or DISK, you sell an application/service and thus can take FULL advantage of containers, like:
- more efficient resources sharing(on host)
- dynamic resources re-balancing
- quicker start/stop/etc
Containers can be used to offer IaaS, but as was already mentioned in this thread, a few edge cases (custom kernel or kernel module, any filesystems support, any firewall support) prevent it due to support/operations overhead.
- gundy 13y agoThey are not really efficient. All they do is add an extra layer of security so you can encapsulate that specific process in a chroot with its own networking stack. Other than that the CPU is still fairshared and the memory still has the same limits as if you ran it without the container. It adds nothing but security.
- wmf 13y agoIn the cloud, KVM/Xen overhead is considered the baseline so containers are definitely more efficient by comparison.
- alinspired 13y agoThere are container technologies (openvz, LXC) that offer lot more than "fairshared" to manage resources between containers. Plus the efficiencies of lower "virtualization overhead", because you don't have full OS in containers compared to VMs (consider full VM kernel, VM HW drivers, etc)