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.

MirageOS: A Unikernel For The Xen Hypervisor

99 pointsby godisdadabout 11 years ago

10 comments

andrewstuartabout 11 years ago
This is an awesome idea. Every now and then a revolutionary concept comes along that points the way to all future computing. This is the future of any public facing computer. You must understand the concepts here if you are involved with web development at any level. If you haven&#x27;t yet wrapped your head around this, then you should.<p>The key concept here is about security.<p>Imagine you could compile your web application&#x2F;website into an application that has nothing else but the required network drivers and minimal hardware drivers needed to execute. That is (as far as I can tell from a brief look) what Mirage does. Using such an approach there&#x27;s nothing for hackers to log in to - no shell to use, no other insecure cruft on the system potentially leaving holes. The attack surface of such a system is extremely low relative to putting fully powered and configurable interactive operating systems onto the Internet.<p>Hackers are showing that almost everything is hackable without expensive, constant, expert attention to security of every aspect of your systems. Even then zero day exploits expose systems within seconds or minutes of the exploit becoming known.<p>This is not to say that such systems cannot be hacked, but rather to say that in such an approach the attack surface is dramatically lower than in current approaches to deployment.<p>Perhaps more likely to change the way that people think about the concept of web application development in the longer term is that the application&#x2F;server allows for the possibility of &quot;high resolution server instances&quot; in which a virtual machine can be started in milliseconds, perhaps to service only one query, and then vanish again. Instead of renting your instance from Amazon that runs per hour and does nothing most of the time, your infrastructure will be truly scalable with nothing running at all until its needed and then precisely as much computing power will be used as is required to meet the inbound demand. No longer will you need to &quot;start a web server&quot; which then chugs and rumbles into existence as all its various unneeded-at-most-times processes start. Instead, connect your application&#x2F;server AMI to the Amazon spot instance marketplace.
评论 #7727210 未加载
评论 #7727067 未加载
评论 #7727092 未加载
amirmcabout 11 years ago
For people interested in this I recommend the ACM article on Unikernels [1]. It&#x27;s a good overview of the approach and the benefits&#x2F;trade-offs. Then take a look at <a href="http://nymote.org" rel="nofollow">http:&#x2F;&#x2F;nymote.org</a> to see the kind of things we want to start building with this approach.<p>[1] <a href="http://queue.acm.org/detail.cfm?id=2566628" rel="nofollow">http:&#x2F;&#x2F;queue.acm.org&#x2F;detail.cfm?id=2566628</a>
derefrabout 11 years ago
See also: Erlang on Xen (<a href="http://erlangonxen.org/" rel="nofollow">http:&#x2F;&#x2F;erlangonxen.org&#x2F;</a>).
评论 #7727063 未加载
评论 #7727412 未加载
bjackmanabout 11 years ago
I don&#x27;t work in a sphere that would make this relevant to me, but I think this paradigm is probably the future! &quot;General purpose operating systems are dead!&quot;, proclaimed bjackman.<p>Anyway, also see: OSv: <a href="http://osv.io/" rel="nofollow">http:&#x2F;&#x2F;osv.io&#x2F;</a> similar idea but with the JVM. I believe some pretty well known Clever People are working on it - can&#x27;t remember who, though.. anyone know?
评论 #7728507 未加载
p1mrxabout 11 years ago
There was already a &quot;MirageOS&quot;, for TI calculators:<p><a href="http://www.ticalc.org/archives/files/fileinfo/139/13949.html" rel="nofollow">http:&#x2F;&#x2F;www.ticalc.org&#x2F;archives&#x2F;files&#x2F;fileinfo&#x2F;139&#x2F;13949.html</a>
评论 #7727377 未加载
gtirloniabout 11 years ago
I understand how using type-safety and streamlined modular systems might be good for security, but I fail to see the point in letting developers be closer to the bare metal. All the security abstractions built into traditional OSes are not there for no reason. Why should I trust the OCaml stack more than the alternatives?<p>This looks like something a really educated&#x2F;disciplined company could use for creating some crazy cool infrastructure. It&#x27;s hard to see it taking off for the average Joe.
评论 #7727320 未加载
评论 #7729051 未加载
ForHackernewsabout 11 years ago
There&#x27;s only room for one MirageOS in my heart, and it runs on the TI-83+ <a href="http://www.detachedsolutions.com/mirageos/" rel="nofollow">http:&#x2F;&#x2F;www.detachedsolutions.com&#x2F;mirageos&#x2F;</a>
bsaulabout 11 years ago
Tried to read the paper mentionned on the website, and wondered : does &quot;libOS&quot; &#x2F;unikernel concept means that the application is built as a kernel extension, and thus runs in kernel land ( so no context switching occures) ? Is this an explanation for the performance gains ?
评论 #7728665 未加载
harrystoneabout 11 years ago
This seems like the rube goldberg version of chroot to me.
listicabout 11 years ago
Is there anything similar for KVM?
评论 #7728294 未加载