Talk: Reliable Event Routing in the Cloud and on the Edge: An Internet-of-Things Solution in the AgeTech Domain

Posted by Fabrizio Lazzaretti on Saturday, January 16, 2021
Last Modified on Sunday, March 24, 2024

This talk dives into the world of Reliable Event Routing, a crucial aspect of Internet-of-Things (IoT) solutions in the AgeTech domain.

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.

Recording

This talk was held at the European Conference on Software Architecture (ECSA) in September 2021.