Back

StardustOS: Library operating system for building light-weight Unikernels

118 points2 monthsgithub.com
N_Lens2 months 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.

mprovost2 months 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/

dist1ll2 months 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.

miohtama2 months ago

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

mrbluecoat2 months ago

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

wardjaradat2 months 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.

koolala2 months ago

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

synalx2 months ago

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

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

rl32 months ago

Galen Erso disagrees.

aldearle2 months ago

[dead]

squeefers2 months ago

[dead]