Re:Unikernels: Rise of the Virtual Library Operating System
by bobland on Monday March 30, 2015 @02:34AM
(#9287965)
I don't know for sure with Mirage, but OSv does not provide process isolation since everything is running in kernel memory.
Re:Unikernels: Rise of the Virtual Library Operating System
by baruch on Monday March 30, 2015 @05:02AM
(#9288404)
Presumably you'd run one application inside such an image and between two images you do have isolation.
Re:Unikernels: Rise of the Virtual Library Operating System
by bobland on Tuesday March 31, 2015 @10:20PM
(#9301157)
Correct, and it's fair to say that the application pretty much is the image - if the application exits, the VM shuts down. Configuration can be kept out of the image with cloud-init, and I basically treat all images as immutable.
The majority of my experience has been using OSv, running Akka, and it's yielding excellent results. Image sizes are small (<200MB), easy enough to upload to AWS and create a new AMI in a few minutes. Boot time to a running application is a few seconds. The only possibly downside is that OSv (as yet) doesn't support paravirtualisation, only HVM.
In the shallowest mode it is just process separation at the deep end it gives you a lot more than that.