Skip to main content
Top

2021 | OriginalPaper | Chapter

Reliable Event Routing in the Cloud and on the Edge

An Internet-of-Things Solution in the AgeTech Domain

Authors : Linus Basig, Fabrizio Lazzaretti, Reto Aebersold, Olaf Zimmermann

Published in: Software Architecture

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The AgeTech domain poses both opportunities and challenges for the architects of Internet of Things (IoT) solutions. Key requirements concern data privacy and cost-efficiency, as well as guaranteed, interoperable delivery of event messages from resource-constrained edge devices to the cloud and consumer applications; public cloud deployments and asynchronous, queue-based messaging are common building blocks of such solutions. This experience report features the conceptual, pattern-oriented design and open source implementation of a custom-built embeddable event router that natively supports the CloudEvents specification from the Cloud Native Computing Foundation. Our CloudEvents Router introduces standardized event routing targeting the software landscape of the AgeTech startup CARU; this landscape reaches from an embedded microcontroller to cloud-scale services running on Amazon Web Services. The report further analyses the message delivery guarantees given in messaging protocol specifications and their implementations (for instance, MQTT libraries) and presents an alternative delivery management approach, implemented and validated in the open sourced Rust microkernel of the CloudEvents router. The report concludes with lessons learned about messaging edge cases and protocol particularities, in MQTT in particular.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Footnotes
2
The ten analyzed messaging products are: CloudEvent Router and Gateway, Knative Eventing v0.9, Pacifica Dispatcher v0.2.3, Serverless Event Gateway v0.9.1, Amazon Simple Notification Service, Apache Camel v2.24.2, Crossbar.io v19.10.1, D-Bus v1.12, Node-RED v1.0.1, RabbitMQ v3.8 [2].
 
Literature
4.
go back to reference Bernstein, P.A., Newcomer, E.: Queued transaction processing. In: Principles of Transaction Processing, pp. 99–119. Elsevier (2009) Bernstein, P.A., Newcomer, E.: Queued transaction processing. In: Principles of Transaction Processing, pp. 99–119. Elsevier (2009)
5.
go back to reference Buschmann, F., Meunier, R., Rohnert, H., Sommerlad, P., Stal, M.: Pattern-Oriented Software Architecture. Wiley, Hoboken (1996) Buschmann, F., Meunier, R., Rohnert, H., Sommerlad, P., Stal, M.: Pattern-Oriented Software Architecture. Wiley, Hoboken (1996)
7.
go back to reference Davis, D., Karmarkar, A., Pilz, G., Winkler, S., Yalçinalp, Ü.: Web services reliable messaging (WS-ReliableMessaging) (2009) Davis, D., Karmarkar, A., Pilz, G., Winkler, S., Yalçinalp, Ü.: Web services reliable messaging (WS-ReliableMessaging) (2009)
10.
go back to reference Gruener, S., Koziolek, H., Rückert, J.: Towards resilient IoT messaging: an experience report analyzing MQTT brokers. In: IEEE International Conference on Software Architecture (ICSA) (2021) Gruener, S., Koziolek, H., Rückert, J.: Towards resilient IoT messaging: an experience report analyzing MQTT brokers. In: IEEE International Conference on Software Architecture (ICSA) (2021)
11.
go back to reference Hohpe, G., Woolf, B.: Enterprise Integration Patterns. Addison Wesley, Boston (2004) Hohpe, G., Woolf, B.: Enterprise Integration Patterns. Addison Wesley, Boston (2004)
13.
go back to reference ISO/IEC 13236:1998(E): Information technology - quality of service: Framework ISO/IEC 13236:1998(E): Information technology - quality of service: Framework
15.
go back to reference Iwasa, K., Durand, J., Rutt, T., Peel, M., Kunisetty, S., Bunting, D.: Web Services Reliable Messaging TC WS-Reliability 1.1 (2004) Iwasa, K., Durand, J., Rutt, T., Peel, M., Kunisetty, S., Bunting, D.: Web Services Reliable Messaging TC WS-Reliability 1.1 (2004)
16.
go back to reference Lampson, B.W., Lynch, N.A., Søgaard-Andersen, J.F.: Correctness of at-most-once message delivery protocols. In: Proceedings of FORTE 1993, Boston, MA, USA (1993) Lampson, B.W., Lynch, N.A., Søgaard-Andersen, J.F.: Correctness of at-most-once message delivery protocols. In: Proceedings of FORTE 1993, Boston, MA, USA (1993)
20.
go back to reference van Steen, M., Tanenbaum, A.: Distributed Systems (2017) van Steen, M., Tanenbaum, A.: Distributed Systems (2017)
Metadata
Title
Reliable Event Routing in the Cloud and on the Edge
Authors
Linus Basig
Fabrizio Lazzaretti
Reto Aebersold
Olaf Zimmermann
Copyright Year
2021
DOI
https://doi.org/10.1007/978-3-030-86044-8_17

Premium Partner