20 Jan 08:53
"DBus Embedded" - a clean break
Just some subversive thoughts (not a practical development project for now): - Dbus is very slow. It's okay on desktop, but on mobile platforms it's suboptimal - It could be much (10x?) faster - switch to shared memory, posix message queues for data transmission (references to relevant shared memory blocks), do not do any verification - Switch to peer-to-peer communication as soon as possible while doing the handshake through daemon (minimize context switches, transmission counts). - It should be possible to make apps using libdbus to still work with this new structure, to retain application compatibility. Obviously wire protocol disappears completely. - Retain the current serialization functionality. However, provide a way to skip it (since people say it's one reason why dbus is slow) and transmit raw binary data very quickly. Implementing this might be easier than fixing dbus, and it could get rid of thread synchronization problems. It would definitely fix speed. Thoughts?
RSS Feed