From freedesktop-dbus Wed Nov 05 15:09:59 2008 From: "Havoc Pennington" Date: Wed, 05 Nov 2008 15:09:59 +0000 To: freedesktop-dbus Subject: Re: About performance of D-Bus Message-Id: <2cef5bf40811050709s1f31a877lb0c3a1cb65b812a () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=freedesktop-dbus&m=122589780621236 Hi, On Wed, Nov 5, 2008 at 9:58 AM, Markku Savela 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