An Actor-Based Middleware for Crowd-Sourced Services
DOI:
https://doi.org/10.4108/eai.13-9-2017.153070Keywords:
CSSWare, middleware, crowd-sourced services, programmability, ActorsAbstract
The growing ubiquity and variety of personal connected computational devices – each with a number of sensors – has created the opportunity for a wide range of crowd-sourced services. A busy professional could find a restaurant to go to for a quick lunch based on information available from smartphones of other people already there. Sensors on diners’ smartphones could detect whether their owners are eating, waiting to be seated, or even heading to a restaurant. Although the programming required for offering a new service of this sort is significant if done from scratch, we identify core communication mechanisms underlying such services, and implement them as part of a middleware, CSSWare. Service designers can then launch novel services over CSSWare by plugging in small pieces of service-specific code. This paper describes the multi-origin communication mechanism which we believe to underlie many crowd-sourced services. It presents our design and prototype Actor-based implementation of CSSWare, a middleware for crowd-sourced services. We present source code for two realistic crowd-sourced services to illustrate the ease with which new services can be specified and launched. Finally, we present our experimental results demonstrating scalability, performance and data-contributor side energy efficiency of the approach.
Metrics
Downloads
Published
How to Cite
Issue
Section
License
This is an open-access article distributed under the terms of the Creative Commons Attribution CC BY 3.0 license, which permits unlimited use, distribution, and reproduction in any medium so long as the original work is properly cited.