data transfer via bus daemon

Thiago Macieira thiago at kde.org
Thu Sep 20 23:49:10 PDT 2007


Pa1 K wrote:
>So if two processes are communicating via bus daemon, using TCP sockets,
>then there will be 2 TCP connections- 1. process A to bus daemon; 2
> process B to bus daemon. If we need to transfer large amount of data in
> this setup, is it a ideal solution to use? OR is it possible in Dbus
> for two applications to transfer data directly between each other,
> after discovering each other via the bus, and then bypassing the bus.
> And thus the overhead of two TCP connections is reduced to one TCP
> connection.

That is what I recommend: once the two applications discover each other, 
they should open a faster channel for transferring a large bulk of data. 
Transferring it over the daemon is very inefficient.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    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: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070921/f24cb8e9/attachment.pgp 


More information about the dbus mailing list