[Qt-interest] Linux Interprocess communication for GUI to connect to a service ?
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Wed Dec 22 17:12:38 CET 2010
On 2010-12-22 Ed Ed Sutton wrote:
> Is QtDBus the best choice?
> ...
> Any feedback on experience with Linux interprocess communications and
> especially performance aspects are appreciated.
I don't know much about performance of QtDBus, but another possibility would certainly be to use http://doc.qt.nokia.com/4.7/qsharedmemory.html. If you frequently need to update data (in constant intervals) it might be cheaper to "poll" for new data. And "polling" in shared memory for new data is probably the cheapest and most performant way - with the restriction off course that both processes run on the same machine. But I think the same restriction (still) applies to DBus as well, no?
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list