Zeromq vs. dbus
michael.kerrisk at jambit.com
Fri Aug 6 00:34:25 PDT 2010
> On Thu, 05 Aug 2010 18:04:12 -0300, Thiago Macieira <thiago at kde.org> wrote:
> >> Obviously the comparison would tell nothing about the quality of the
> >> implementations (because in 0mq there isn't much of implementation to
> >> go aroung with anyway), but I can imagine IPC use cases where
> >> programmer would naturally reach for dbus without needing all the
> >> features provided by dbus (but suffering the non-optional performance
> >> hit anyway).
> > If you're going to send arbitrary byte sequences, I'd use POSIX mqueues.
> POSIX message queues are problematic. In my understanding, you can't poll()
This is true on most implementations, but not on Linux. On Linux, a POSIX message queue descriptor can be treated pretty much like any file descriptor, and can usefully be passed to select(), poll() or epoll.
More information about the dbus