Zeromq vs. dbus

Avery Pennarun apenwarr at gmail.com
Thu Aug 5 15:58:51 PDT 2010


On Thu, Aug 5, 2010 at 5:04 PM, Thiago Macieira <thiago at kde.org> wrote:
> On Thursday 5. August 2010 17.52.35 Ville M. Vainio 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.

Not if you're trying to write software portable outside POSIX.  I've
never tried this 0mq stuff, but it sounds like it's a thin layer
around "choose your favourite transport" that lets you send arbitrary
byte sequences.  Not a bad idea compared to doing it all yourself.

Also, as others have said, not what d-bus is designed for :)

Have fun,

Avery


More information about the dbus mailing list