This article describes the role of reactive streams concept as a core communication pattern in mobile-first applications and proposes directions for evolution of its classic API to better match mobile application requirements. By designing the selected examples of mobile applications, the authors evaluate the Reactive Streams API which is an increasingly accepted standard for asynchronous communication with back-pressure. This design is then assessed with regard to solution expressiveness and the ability to satisfy functional and non-functional requirements of the stated problems. It is observed that the used API does not allow for a context propagation from a mobile subscriber to a publisher so that the streamed data can be well adjusted to the variable reception context of a given mobile device. To address this issues, a context-aware variant of this API is proposed and it is demonstrated and discussed by presenting an alternative application design.
Publié le : 2017-02-07
Classification:
other areas of Computing and Informatics,
Mobility, reactive manifesto, voluntary computing, context-aware computing, distributed systems,
68M14
@article{cai3379,
author = {Przemys\l aw Dadel; AGH University of Science and Technology, Krak\'ow and Krzysztof Zieli\'nski; AGH University of Science and Technology, Krak\'ow},
title = {Evolution of Reactive Streams API for Context-Aware Mobile Applications},
journal = {Computing and Informatics},
volume = {35},
number = {4},
year = {2017},
language = {en},
url = {http://dml.mathdoc.fr/item/cai3379}
}
Przemysław Dadel; AGH University of Science and Technology, Kraków; Krzysztof Zieliński; AGH University of Science and Technology, Kraków. Evolution of Reactive Streams API for Context-Aware Mobile Applications. Computing and Informatics, Tome 35 (2017) no. 4, . http://gdmltest.u-ga.fr/item/cai3379/