Tiered versus Tierless IoT Stacks: Comparing Smart Campus Software Architectures

Lubbers, M., Koopman, P., Ramsingh, A., Singer, J. and Trinder, P. (2020) Tiered versus Tierless IoT Stacks: Comparing Smart Campus Software Architectures. In: 10th International Conference on the Internet of Things, Malmö, Sweden, Oct 2020, p. 21. ISBN 9781450387583 (doi: 10.1145/3410992.3411002)

Full text not currently available from Enlighten.

Abstract

Internet of Things (IoT) software stacks are notoriously complex, conventionally comprising multiple tiers/components and requiring that the developer not only uses multiple programming languages, but also correctly interoperate the components. A novel alternative is to use a single tierless language with a compiler that generates the code for each component, and for their correct interoperation. We report the first ever systematic comparison of tiered and tierless IoT software architectures. The comparison is based on two implementations of a non-trivial smart campus application. PRSS has a conventional tiered Python-based architecture, and Clean Wemos Super Sensors (CWSS) has a novel tierless architecture based on Clean and the iTask and mTask embedded DSLs. An operational comparison of CWSS and PRSS demonstrates that they have equivalent functionality, and that both meet the University of Glasgow (UoG) smart campus requirements. Crucially, the tierless CWSS stack requires 70% less code than the tiered PRSS stack. We analyse the impact of the following three main factors. (1) Tierless developers need to manage less interoperation: CWSS uses two DSLs in a single paradigm where PRSS uses five languages and three paradigms. (2) Tierless developers benefit from automatically generated, and hence correct, communication. (3) Tierless developers can exploit the powerful high-level abstractions such as Task Oriented Programming (TOP) in CWSS. A far smaller and single paradigm codebase improves software quality, dramatically reduces development time, and improves the maintainability of tierless stacks.

Item Type:Conference Proceedings
Status:Published
Refereed:Yes
Glasgow Author(s) Enlighten ID:Ramsingh, Mr Adrian and Singer, Dr Jeremy and Trinder, Professor Phil
Authors: Lubbers, M., Koopman, P., Ramsingh, A., Singer, J., and Trinder, P.
College/School:College of Science and Engineering > School of Computing Science
ISBN:9781450387583

University Staff: Request a correction | Enlighten Editors: Update this record