rust-firecracker / fctools

A fully-complete (semi-stable) Rust SDK for Firecracker microVM-utilizing applications.
MIT License
3 stars 0 forks source link

Investigate decoupling from tokio #10

Closed kanpov closed 1 week ago

kanpov commented 1 week ago

Instead of the costly FS backend abstraction that doesn't seem to be bringing much of a benefit due to tokio-uring being de facto abandoned, it could be worthwhile to introduce a Runtime trait that would have:

For everything else, it'd make sense to use agnostic crates outside of tokio, for example crossbeam-channel or async-channel for mpsc in the metrics extension.

Main priority for 0.6! Would also entail a ton of breaking changes, naturally

kanpov commented 1 week ago

Massive refactor/churn/rewrite number 5 or 6 for fctools that breaks everything, which is mainly why I'm planning to keep 0.x for quite a while still.

kanpov commented 1 week ago

Doing this just proves once again how much of an absolute unmitigated disaster the async rust executor situation is, honestly...