TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why unikernels are not more popular?

2 pointsby amirouchealmost 6 years ago
I discovered MirageOS. I find the idea elegant. It looks to me like a compiler of the whole Operating System.<p>I wondering what are the pros and cons? How does they relate to micro kernels?

4 comments

eybergalmost 6 years ago
The main reason I&#x27;ve found is that very few people&#x2F;organizations have focused on making it a first class citizen. A weekend hacker or two might work for a new web framework but unikernels involve entire operating system development. To compare - linux has been around for ~ 30 years.<p>This is something we are focused on at NanoVMs. (yes, I work there).<p>As for the other questions - unikernels descend from the microkernel family tree and some implementations (ours included) blur that line considerably. Andrew Tanenbaum was right. :)<p>Pros:<p>* many are <i>much</i> faster than comparable linux applications for boot and runtime (NEC can boot theirs in 5ms - fork takes ~3ms, docker containers boot in ~200ms)<p>* many are dramatically more secure (ours has the same aslr&#x2F;page protections as linux does yet also doesn&#x27;t have the notion of a shell, users or the ability to run other processes)<p>* if you have your own infrastructure you can massively consolidate your vms (this is a big benefit but you won&#x27;t get this on public cloud)<p>Cons:<p>* in the past you had to manually port your application (this was too much to ask a user for) -- this is changing in many different implementations<p>* there are some hard constraints (eg: single process) for a lot of implementations (for instance postgres would need to be re-written)
PaulHoulealmost 6 years ago
It is hard to innovate in operating systems because people already have a lot of software written for POSIX and POSIX-like systems and if you wanted to make something entirely different people won&#x27;t like it.<p>The Unikernel idea is one of the better ones. I&#x27;ve thought a lot about what an async-first operating system would look like and it is hard to picture, particularly when virtual memory is a fundamentally blocking abstraction.
billconanalmost 6 years ago
<a href="https:&#x2F;&#x2F;www.joyent.com&#x2F;blog&#x2F;unikernels-are-unfit-for-production" rel="nofollow">https:&#x2F;&#x2F;www.joyent.com&#x2F;blog&#x2F;unikernels-are-unfit-for-product...</a><p><a href="https:&#x2F;&#x2F;fourlightyears.blogspot.com&#x2F;2018&#x2F;08&#x2F;what-i-could-not-undiscover-about.html" rel="nofollow">https:&#x2F;&#x2F;fourlightyears.blogspot.com&#x2F;2018&#x2F;08&#x2F;what-i-could-not...</a>
评论 #20288555 未加载
amirouchealmost 6 years ago
An overview of unikernels <a href="https:&#x2F;&#x2F;github.com&#x2F;cetic&#x2F;unikernels" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cetic&#x2F;unikernels</a>