Back to Search Start Over

I now pronounce you reactive and consistent: handling distributed and replicated state in reactive programming

Authors :
Wolfgang De Meuter
Florian Myter
Tim Coppieters
Christophe Scholliers
Informatics and Applied Informatics
Faculty of Sciences and Bioengineering Sciences
Software Languages Lab
Source :
REBLS@SPLASH
Publication Year :
2016
Publisher :
ACM, 2016.

Abstract

Developing modern collaborative applications burdens the programmer with local event handling (e.g. user interaction), remote event handling (e.g. updates from the server) and shared state (e.g. in order to allow operations while being disconnected). Several solutions have been developed at the programming language level in order to reduce the complexity of these aspects. On one hand, distributed reactive models (e.g. DREAM) tackle both local and remote event handling. On the other hand recent replicated consistency models (e.g. CRDT's and CloudTypes) hide the complexity of shared, replicated state. Both solutions only partially alleviate the complexity associated with developing collaborative applications. To the best of our knowledge, none or very little effort has been undertaken to provide a single unified model able to tackle both event handling and shared state. In this paper we argue the need for such a united model. To that end we present Direst, a domain specific language which enhances traditional reactive abstractions (i.e. signals) with replication and consistency features. Direst reduces the complexities of writing truly collaborative applications by providing a framework in which elegantly handling events and easily managing shared state are not mutually exclusive.

Details

Database :
OpenAIRE
Journal :
Proceedings of the 3rd International Workshop on Reactive and Event-Based Languages and Systems
Accession number :
edsair.doi.dedup.....ad1f52e2a5c859371307ad8336feaab0