3 ms·
I thought the whole point of things like docker is they gave native performance? Isn't docker just a combination of cgroups, network namespaces, pid namespace
by londons_explore 7y ago
I thought the whole point of things like docker is they gave native performance? Isn't docker just a combination of cgroups, network namespaces, pid namespaces, fancy filesystem mounts, etc.
The overhead should be zero by design.
What am I missing?
- _ananos_ 7y agothere is a number of factors to consider when comparing this kind of technologies. Linux containers provide native performance for almost all applications, true; but there are tons of implications when it comes to multi-tenancy (security, QoS, trusted execution etc.). Moreover, spawning an application as a docker container can incur significant overhead on startup time, fs setup, FS access etc. So in theory yes, containers provide native performance. But do we really want to run apps on multi-tenant edge devices as containers ? I would argue not necessarily ;)