stratisd
stratisd copied to clipboard
Investigate zbus
Now that zbus has matured, we should take another look at it given that the async support seems to work quite nicely with what we're trying to accomplish in #2573.
One additional benefit is that this should remove our dependency on libdbus altogether.
It looks like we'd need async server support first to really ease the transition. Issue in the zbus repository: https://gitlab.freedesktop.org/dbus/zbus/-/issues/163.
Taking this off any project for now, we can check back in a bit.
Async server support should be one of the next issues addressed.
Hi, Just to let you know that high level async service-side API are now available in the latest 2.0 beta release if you want to try porting the code already. The beta version of the book explains how to do this. While some of the API will still change before the 2.0.0 release, I'm confident it'll not need any fundamental changes anymore so the porting efforts from beta.7 to 2.0.0 will be minimum.
Thanks so much for letting us know, @zeenix!
FYI, zbus 2.0 (stable) has been out for almost 6 months now and provides async API for both client and server-side. It's been well-received so far and our downloads are already reaching that of dbus-rs (despite the very long headstart dbus-rs had over zbus).