2 ms·
> Container systems seem to have a relatively complex abstraction over what is a relatively simple architecture Yep, it's really not rocket science. I find th
by musicale 7y ago
> Container systems seem to have a relatively complex abstraction over what is a relatively simple architecture
Yep, it's really not rocket science.
I find that very useful and usable resource isolation (i.e. most of what I actually use containers for) can be achieved with processes + cgroups + chroot.
Unfortunately networking complicates things since DNS doesn't return ports, only IP addresses. A local DNS service that returned IP:port (and appropriate connection APIs at the application level) could eliminate much of the need for network namespaces. Putting services behind front-end gateways also works (indeed it's usually the model for web services.)
(Disclaimer: I actually do use network namespaces frequently and have fun doing so, but I tend to think that networking APIs are too low-level.)
- Shish2k 7y ago> DNS doesn't return ports, only IP addresses DNS can return IP:Port pairs, using SRV records instead of A/AAAA records, but for some reason it never took off :( I guess because these days everything uses HTTP as the transport layer, and HTTP doesn’t support it?