arrow
Return

Event-driven asynchronous method calls with the D-Bus message system

delete2013-07-26
delete1
delete
OA
AI
O
Olli Salli *
O
Olli Nevalainen
V
Ville Leppänen
DOI:10.1002/spe.2216delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
The use of inter-process communication can yield many benefits for event-driven desktop software. However, inter-process communication (IPC) research has traditionally been focused on calculation-oriented distributed computing. This article shows that existing IPC solutions are a poor fit for the constraints imposed by event-driven programming. Our novel solution is built on top of the D-Bus system, which enjoys increased practical usage, but is still scantily researched. We focus on efficient handling of asynchronous D-Bus method calls, in a fashion similar to how Hypertext Transfer Protocol requests are treated in Asynchronous JavaScript and XML Web applications. This is supplemented with two design patterns that simplify processing of results for many kinds of asynchronous operations in event-driven software, besides just D-Bus calls. Our approach is shown to be more appropriate for event-driven applications than traditional remote procedure call systems in aspects as diverse as interactivity, threading complexity and electrical power usage. Copyright (C) 2013 John Wiley & Sons, Ltd.
Keywords:
asynchronous method call
battery runtime
D-Bus
event-driven
inter-process communication
remote procedure call
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

S
Software Practice and Experience
IF:
2.7
Papers:
84
Citations:
3.2K

Organization

U
University of Turku
Scholars:
1.7W
Papers: 1.5W
Citations: 2.0W