OT: Is ORBit still faster than DBus?
OT: Is ORBit still faster than DBus?
Posted Jul 29, 2010 8:39 UTC (Thu) by debacle (subscriber, #7114)In reply to: OT: Is ORBit still faster than DBus? by hp
Parent article: GNOME 3.0 release delayed
(My question was really off-topic, because I will use DBus in an embedded, non-graphical, non-Gnome application. We will use DBus, not CORBA, because we have to communicate with dbus apps like Network Manager etc. anyway, so it's just easier to stay with DBus, even if it's slower.)
Posted Jul 29, 2010 18:00 UTC (Thu)
by aleXXX (subscriber, #2742)
[Link] (2 responses)
One thing you can do is to use libdbus in peer-to-peer mode, this avoids visiting the bus daemon and by this one receive, deserialize, serialize, send combination. But it's more work. AFAIK no binding supports this mode currently, so you have to do it using libdbus directly.
Alex
Posted Jul 29, 2010 18:22 UTC (Thu)
by debacle (subscriber, #7114)
[Link]
Posted Jul 29, 2010 18:27 UTC (Thu)
by hp (guest, #5220)
[Link]
minimizing IPC and going peer-to-peer instead of through the bus are both good suggestions.
if you have simple needs just using a raw unix socket instead of a whole IPC "system" might be a good option too. for peer-to-peer the "XMLSocket" protocol that Flash uses is a nice simple one: bidirectional stream of nul-separated strings. Not a lot of code to write for that.
anyway, anyone is welcome to improve libdbus or gdbus or any of the other implementations of dbus, of course! make it do what you need. that's what open source is about.
OT: Is ORBit still faster than DBus?
Especially embedded developers often report bad performance numbers, e.g. when running on a 200 MHz ARM or so.
OT: Is ORBit still faster than DBus?
OT: Is ORBit still faster than DBus?