StardustOS: Library operating system for building light-weight Unikernels

Posted by transpute 7 days ago

Counter118Comment9OpenOriginal

Comments

Comment by N_Lens 7 days ago

The main value seems to be as a research vehicle and teaching tool rather than production-ready infrastructure. The Rust version being archived suggests this might not be under active development currently.

Good for simple stateless services (web servers, API endpoints, microservices) applications that fit the unikernel model - single-purpose, statically linked Running on one's own Xen hypervisor infrastructure.

Comment by mprovost 6 days ago

It reminds me of the old OSKit project from the Univ of Utah, which was also developed for research and teaching.

https://www-old.cs.utah.edu/flux/oskit/

Comment by dist1ll 7 days ago

I would argue that stateful services (databases, message queues, CDNs) all perfectly fit the unikernel model. The question is whether the additional engineering effort and system design is worth the performance gain.

Comment by miohtama 6 days ago

Interesting. Are there any research and papers on potential performance gains?

Comment by mrbluecoat 6 days ago

Looks promising but the last update appears to be a few years ago. OPS is a modern alternative: https://docs.ops.city/ops/

Comment by wardjaradat 5 days ago

I’m one of the authors of Stardust - thanks to everyone who’s taken the time to look at it and share their thoughts here.

The project started with two questions:

- How small can a deployment unit be while still supporting real service workloads?

- What if distributed systems were built from components that can be deployed quickly or dynamically relocated across a network?

Instead of large virtual machines or container images, we turned to Unikernels; tiny, and easily deployable anywhere a hypervisor runs. If deployment becomes cheap, we can rethink system design: mobile agents, compute-near-data, ephemeral tasks, dynamic composition, and so on.

Stardust lets us explore that space, and both the C and Rust versions are stable.

Stateful services are possible with Unikernels, though library porting still takes work, and there’s plenty of room for innovation around hypervisor and tooling. WebAssembly is a promising direction as well, though it would require adapting Stardust to support an appropriate runtime. Some Unikernels have already gone down that path, and there’s definitely room for more experimentation.

Comment by koolala 7 days ago

Could this be good for compiling as a small Wasm OS for the Browser? Instead of Alpine Linux or things like that?

Comment by synalx 7 days ago

> Stardust-oxide is a re-implementation of the unikernel in Rust.

Not "Starrust"? What a missed opportunity...

Comment by rl3 6 days ago

Galen Erso disagrees.

Comment by 6 days ago

Comment by aldearle 6 days ago

[dead]

Comment by squeefers 6 days ago

[dead]