How to Implement the Publish/Subscribe Pattern without a Centralised Message Broker

Опубликовано: 21 Октябрь 2024
на канале: Nordic APIs
119
2

A talk given by Petteri Kivimäki from Nordic Institute for Interoperability Solutions (NIIS) for the 2023 Platform Summit in Stockholm.

X-Road® is an open-source software and ecosystem solution that provides unified and secure data exchange between organisations. X-Road is a digital public good verified by the Digital Public Goods Alliance, and it’s released under the MIT open source.

Message Room is an asynchronous messaging concept that decouples message producers and consumers and enables publishing messages and events to multiple consumers. Instead of sending messages directly between two information systems, message producers publish their messages to a Message Room with any number of consumers. In practice, Message Room is an implementation of the publish/subscribe messaging pattern in X-Road. The difference compared to many other publish/subscribe implementations is that X-Road is based on a distributed architecture without a centralised message broker. Therefore, the Message Room concept provides a decentralised implementation of the publish/subscribe pattern.

In my talk, I’m going to give an overview of X-Road first. Then, I’m going to discuss the Message Room concept in more detail and how the publish/subscribe messaging pattern can be implemented without a centralised message broker.

----------
Get the latest API insights straight to your inbox, subscribe to Nordic APIs newsletter: https://nordicapis.com/newsletter/