3 ms·
Linux GUI apps use DBUS to communicate between each other. (I'm not a fan of it but it's better than nothing)
by throwaway984393 5y ago
Linux GUI apps use DBUS to communicate between each other. (I'm not a fan of it but it's better than nothing)
- capableweb 5y agoAs a comparison against traditional unix pipes (or even sockets), how does DBUS handle sending/receiving a lot of data? I always got the impression DBUS is more for notification style message passing, not actually for sending data, so you'd send a message saying "fetch the data from this socket" rather than "here's a bunch of data for you".
- pas 5y agoYou can use DBus to call a remote procedure and pass the path of a temp file where the real data is. (You can pass actual file descriptors too.) That said DBus is pretty fast. Basically somewhere around 25-30% of TCP. https://blogs.gnome.org/abustany/2010/05/20/ipc-performance-the-return-of-the-report/ https://blogs.gnome.org/abustany/2010/05/20/ipc-performance-...