-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main-noip
apps never terminate
#19
Comments
As mirage unikernels were supposed to support interface hotplug (eventually), I was fine having an unikernel never terminates. How do you think that should be handled ? |
Maybe the hotplug ability can also be enabled with a flag ? |
I think unikernels should be explicitly modelled as something that is started and stopped. The UNIX version could/should have a CLI to "list running unikernels with IDs" just like Xen kernels do. This makes management of them much much easier, since I can just start 8 UNIX unikernels on a Linux box and have them use 8 cores in parallel, just as we would under Xen. I.e. why not go for an explicit hotplug + start/stop model right now, since it's the only eventual model that makes sense. Very Erlang-like... On 13 Aug 2013, at 11:21, Vincent Bernardoff [email protected] wrote:
|
that makes sense to me -- making mirari a thing that basically abstracts over |
even if
main-noip: ...
is specified, mirari generates thebackend.ml
to create a thread that accepts on a socket, and adds theBackend.run()
thread to the join list inmain.ml
.this means a unikernel that never invokes networking will never terminate -- the
Backend.run()
thread remains live in the accept loop forever.The text was updated successfully, but these errors were encountered: