stratisd icon indicating copy to clipboard operation
stratisd copied to clipboard

Investigate zbus

Open jbaublitz opened this issue 4 years ago • 6 comments
trafficstars

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.

jbaublitz avatar May 04 '21 15:05 jbaublitz

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.

jbaublitz avatar May 04 '21 16:05 jbaublitz

Taking this off any project for now, we can check back in a bit.

mulkieran avatar May 26 '21 02:05 mulkieran

Async server support should be one of the next issues addressed.

jbaublitz avatar Jun 01 '21 13:06 jbaublitz

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.

zeenix avatar Sep 29 '21 22:09 zeenix

Thanks so much for letting us know, @zeenix!

jbaublitz avatar Sep 30 '21 14:09 jbaublitz

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).

zeenix avatar May 17 '22 11:05 zeenix