From: Armin B. <arm...@de...> - 2005-09-01 21:42:41
|
David Eriksson wrote: > On Thu, 2005-09-01 at 18:07 +0200, Armin Bauer wrote: > > >>Hi, >> >>i wrote a wiki entry about the planned IPC mechanism: >>http://www.opensync.org/wiki/IPC >> >>How you can help depends on how good you know ipc mechanisms. There is >>no real difficulty in adding the ipc stuff, its just a lot of work to >>write :) > > > Be careful when planning this. IPC and RPC has been done many times > before and I know it is tempting to reinvent the wheel, either due to > "not invented here" syndrome or due to something else. > We also took a look at dbus. But we decided that we dont need any of the advanced features of dbus. One other important aspect we need in out IPC is that it is fast and can handle large amounts of data. With dbus everything has to go over a central server process. Therefore it cannot be as fast as a direct ipc. The only advantage i see by using dbus is that its easier to marshal data since you get type safety etc. And by using named sockets we dont have to link against yet another library. > I suggest taking a look at D-BUS. It's quite nice, IMHO: > > http://freedesktop.org/wiki/Software_2fdbus > > The only problem with D-BUS right now is versioning; there is no > compatibility promised until after 1.0 is released and the D-BUS version > may vary between Linux distros today... > |