[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: About performance of D-Bus
From:       "Havoc Pennington" <hp () pobox ! com>
Date:       2008-11-05 15:09:59
Message-ID: 2cef5bf40811050709s1f31a877lb0c3a1cb65b812a () mail ! gmail ! com
[Download RAW message or body]

Hi,

On Wed, Nov 5, 2008 at 9:58 AM, Markku Savela <msa@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.

Havoc
_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic