3 ms·
A question I'm not equipped to answer but keeps coming up for me every time this conversation or user-space drivers comes up: If we had microkernels, would con
by hinkley 8y ago
A question I'm not equipped to answer but keeps coming up for me every time this conversation or user-space drivers comes up:
If we had microkernels, would containers be a thing right now? Or would we just have orchestration tools (eg, Kubernetes)?
I'm old enough to recall when protected memory and pre-emptive multitasking were the new kernel services and all of the literature for those greatly overlaps what we use to sell containers now. Like we never achieved the promise and we are trying again instead of fixing it.
- stingraycharles 8y agoContainers would still be a thing, but its implementation would be much easier. What jails (a.k.a. containers) actually do is try to build a fence around a process so it looks as if its isolated. With a microkernel, this process would be much easier since every component of the kernel is already isolated. The actual kernel would remain the same and wouldnt need any fences (it just routes between components), and the container would just launch new instances of the kernel modules it would need.
- willtim 8y agoIf we had better languages and tools for integrating various parts of the tech stack, then perhaps we wouldn't need such monolithic constructions. See the Mirage unikernal project for an alternative to containers and virtual machines running full blown operating systems.