Originally posted by tsuru
View Post
Announcement
Collapse
No announcement yet.
Systemd Looking At A Future With More Varlink & Less D-Bus For IPC
Collapse
X
-
Originally posted by oleid View PostWhy would one use json for a message bus payload and not something binary like - I don't know - messagepack? Serialising and deserialising json is not really efficient.
The following benchmark is using a very efficient json library. Note that the X axis is logarithmic:
https://github.com/getml/reflect-cpp...ain/benchmarks
- Likes 11
Comment
-
Originally posted by oleid View PostWhy would one use json for a message bus payload and not something binary like - I don't know - messagepack? Serialising and deserialising json is not really efficient.
Also, thanks for sharing the link. Too bad it didn't include protobuf, as I'd have liked to see how it compares to the others.
- Likes 5
Comment
-
Originally posted by oleid View PostWhy would one use json for a message bus payload and not something binary like - I don't know - messagepack? Serialising and deserialising json is not really efficient.
The following benchmark is using a very efficient json library. Note that the X axis is logarithmic:
https://github.com/getml/reflect-cpp...ain/benchmarks
And it also allows to use varlink from simple and small applications by just write/read simply json to/from stdout/stdin.
- Likes 16
Comment
-
Originally posted by oleid View PostWhy would one use json for a message bus payload and not something binary like - I don't know - messagepack? Serialising and deserialising json is not really efficient.
The following benchmark is using a very efficient json library. Note that the X axis is logarithmic:
https://github.com/getml/reflect-cpp...ain/benchmarks
- Likes 7
Comment
-
Originally posted by oleid View PostWhy would one use json for a message bus payload and not something binary like - I don't know - messagepack? Serialising and deserialising json is not really efficient.
Honestly, though, for the kind of in-system IPC we are talking about here, the greater efficiency of binary formats would likely be unnoticeable.
- Likes 4
Comment
-
Originally posted by tsuru View PostWhat is the governance model of the Varlink project? Who owns it -- Redhat? Microsoft? an Individual? I can't find these details easily on varlink.org or the various github projects...Last edited by Daktyl198; 28 September 2024, 10:37 PM.
- Likes 5
Comment
-
Originally posted by Daktyl198 View Post
If systemd is considering using it, it's owned by Red Hat. RH always prefers it's own software to other alternatives, 100% of the time. And since the Linux world always chooses to use RH-owned software on the macro level, soon RH will control most of the Linux stack on top of the kernel
- Likes 5
Comment
Comment