interconnecting dbus and activemq

Colin Walters walters at verbum.org
Fri Feb 8 08:53:11 PST 2008


On Feb 8, 2008 12:13 PM, Philippe Brun (perso) <phb.perso at aegle.fr> wrote:
>
> Thank you for the answer. I'm pretty new to these techniques, so I guess I need a little more work
> to understand it fully.
>
> A last point though : I'm considering using an application private systemwide D-BUS, to which all
> instances of several programs would connect. It would end up with a single bus having from 10s to
> 100s clients. Does this sound reasonable to you ?

10s to 100s of clients is fine - it's message rate that's probably
more of a deciding factor on DBus versus something else.  And also
what the existing architecture of your application is.

You're thinking of spawning your own system bus on say
/var/lib/myapp/myapp-bus.socket?  That's probably fine, but I think
for a lot of cases the architecture of using one of the main buses (in
this case the system bus) to open a private high-bandwidth
communication channel between applications is more understandable (if
you need the high-bandwidth part).  Or just use the filesystem as IPC
- e.g. one app sends to another a message like
com.myapp.ProcessFile string:/var/tmp/myapp/file-to-process


More information about the dbus mailing list