About performance of D-Bus

Havoc Pennington hp at pobox.com
Wed Nov 5 07:09:59 PST 2008


On Wed, Nov 5, 2008 at 9:58 AM, Markku Savela <msa at moth.iki.fi> wrote:
> Aren't we looking at situation:
>  client --> D-Bus Daemon --> Server
>         (1)             (2)
> Wouldn't some speedup be achieved by
> (1) For passed messages, D-Bus daemon only checks the parts it needs
> in delivering them messages to destinations (e.g. only check the
> header information, pass the payload arguments as is).
> (2) On receiving side, the server actually utilizing the message
> payload, would do the full check in library.

It is true that in principle only either the dbus-daemon or the
receiving app needs to validate messages, assuming one of them trusts
the other. I think it would be only a small speedup though.


More information about the dbus mailing list