Zeromq vs. dbus

Thiago Macieira thiago at
Thu Aug 5 14:04:12 PDT 2010

On Thursday 5. August 2010 17.52.35 Ville M. Vainio wrote:
> On Thu, Aug 5, 2010 at 11:37 PM, Thiago Macieira <thiago at> wrote:
> > D-Bus uses Unix sockets with message semantics. But it has a lot on top
> > of that. And the worst part where D-Bus loses performance is the message
> > validation. So it's  not really fair to compare a system that sends
> > bytes over the wall to the other side, to a system that not only
> > understands what those bytes are, but also validates them.
> 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.

Thiago Macieira - thiago (AT) - thiago (AT)
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the dbus mailing list