Reliable Messaging using the CloudEvents Router

Basig, Linus and Lazzaretti, Fabrizio (2021) Reliable Messaging using the CloudEvents Router. Other thesis, OST Ostschweizer Fachhochschule.

[thumbnail of HS 2020 2021-BA-EP-Basig-Lazzaretti-Reliable Messaging Using the CloudEvents Router.pdf] Text
HS 2020 2021-BA-EP-Basig-Lazzaretti-Reliable Messaging Using the CloudEvents Router.pdf - Supplemental Material

Download (17MB)

Abstract

CARU is an AgeTech startup offering a voice-controlled emergency-call device designed to help the elderly live an independent life for longer. The device will react to a cry for help and automatically activate an emergency call to up to 5 family members. CARU's software architecture is heavily event-driven, envisioning a unified event plane letting events flow between all connected systems. To support this vision, CARU's events are structured according to the CloudEvents specification of the Cloud Native Computing Foundation (CNCF). In our previous student research project, we designed, implemented, and open-sourced the CloudEvents Router (https://github.com/ce-rust/cerk) – a first step towards this vision.
To entrust mission-critical events to the CloudEvents Router, it has to guarantee that these messages arrive. The goal of this bachelor thesis is to extend the router to provide such a delivery guarantee. This guarantee should also apply when an event is routed across different protocols. We focused on the protocols that the CloudEvents specification defines a protocol binding for: AMQP, Kafka, MQTT, NATS, and WebHooks.

As a starting point, we conducted extensive literature research to identify and compare existing reliable messaging definitions and patterns.
Our research showed that the most feasible approach to provide reliable routing is to implement an end-to-end delivery guarantee of "At Least Once". This guarantee applies from the event source, via the router, to the event destination. We then analyzed which delivery guarantees are provided by the mentioned messaging protocols and how interoperable the supporting concepts are. Having adapted the architecture design of the existing CloudEvents Router to fulfill the new requirements, we implemented a proof-of-concept that routes messages between AMQP and MQTT with an "At Least Once" delivery guarantee.

We released our open-source CloudEvents Router implementation, now supporting the desired "At Least Once" delivery guarantee in addition to the already existing "Best Effort" policy. The new version also supports the AMQP protocol complementing the already existing support for MQTT.
With this new guarantee, CARU has started evaluating the CloudEvents Router for productive use on their device.

Item Type: Thesis (Other)
Subjects: Topics > Internet Technologies and Applications > Voice Recognition
Area of Application > Consumer oriented
Technologies > Network
Technologies > Network > Router
Technologies > Network > QoS (Quality of Service)
Divisions: Bachelor of Science FHO in Informatik > Bachelor Thesis
Depositing User: OST Deposit User
Contributors:
Contribution
Name
Email
Thesis advisor
Zimmermann, Olaf
UNSPECIFIED
Date Deposited: 19 Mar 2021 09:44
Last Modified: 19 Mar 2021 09:44
URI: https://eprints.ost.ch/id/eprint/904

Actions (login required)

View Item
View Item