An Interference-Free Programming Model for Network Objects - Coordination Models and Languages (COORDINATION 2016)
Conference Papers Year : 2016

An Interference-Free Programming Model for Network Objects

Abstract

Network objects are a simple and natural abstraction for distributed object-oriented programming. Languages that support network objects, however, often leave synchronization to the user, along with its associated pitfalls, such as data races and the possibility of failure. In this paper, we present D-Scoop, a distributed programming model that allows for interference-free and transaction-like reasoning on (potentially multiple) network objects, with synchronization handled automatically, and network failures managed by a compensation mechanism. We achieve this by leveraging the runtime semantics of a multi-threaded object-oriented concurrency model, directly generalizing it with a message-based protocol for efficiently coordinating remote objects. We present our pathway to fusing these contrasting but complementary ideas, and evaluate the performance overhead of the automatic synchronization in D-Scoop, finding that it comes close to—or outperforms—explicit locking-based synchronization in Java RMI.
Fichier principal
Vignette du fichier
416253_1_En_14_Chapter.pdf (267.65 Ko) Télécharger le fichier
Origin Files produced by the author(s)
Loading...

Dates and versions

hal-01631712 , version 1 (09-11-2017)

Licence

Identifiers

Cite

Bertrand Meyer, Mischael Schill, Christopher M. Poskitt. An Interference-Free Programming Model for Network Objects. 18th International Conference on Coordination Languages and Models (COORDINATION), Jun 2016, Heraklion, Greece. pp.227-244, ⟨10.1007/978-3-319-39519-7_14⟩. ⟨hal-01631712⟩
57 View
115 Download

Altmetric

Share

More