Nimatix

Latest News

HomeUnified Namespace (UNS) vs Event-Driven Architecture (EDA)
25 Feb
Iot
764 views
0 Comments

Unified Namespace (UNS) vs Event-Driven Architecture (EDA)

Many people ask, What is the difference between a Unified Namespace (UNS) and Event-Driven Architecture (EDA)?

One thing they have in common is that they both leverage asynchronous messaging and exchange events. Essential for modern, scalable solutions.

However, their paths diverge when you examine their specific guiding principles:

Let’s break these down

𝐄𝐯𝐞𝐧𝐭𝐬 𝐚𝐧𝐝 𝐒𝐭𝐚𝐭𝐞 𝐄𝐱𝐜𝐡𝐚𝐧𝐠𝐞:
EDA primarily focuses on event exchange without necessarily including current state information. In contrast, UNS incorporates both events and current states, providing a more holistic view of system dynamics.

𝐒𝐭𝐚𝐧𝐝𝐚𝐫𝐝𝐢𝐳𝐞𝐝 𝐃𝐚𝐭𝐚 𝐋𝐨𝐜𝐚𝐥𝐢𝐭𝐲 𝐢𝐧 𝐔𝐍𝐒: 
UNS is characterized by a standardized MQTT topic structure that inherently includes data locality. While EDA can support this, it’s not an inherent requirement.

‘𝐑𝐞𝐩𝐨𝐫𝐭 𝐛𝐲 𝐄𝐱𝐜𝐞𝐩𝐭𝐢𝐨𝐧’ 𝐌𝐨𝐝𝐞𝐥:
UNS typically, and perhaps mandatorily, employs a “report by exception” approach, differentiating it from EDA where this isn’t a prerequisite.

𝐀𝐫𝐜𝐡𝐢𝐭𝐞𝐜𝐭𝐮𝐫𝐚𝐥 𝐀𝐩𝐩𝐫𝐨𝐚𝐜𝐡:
UNS advocates for a lightweight, open architecture, a preference not necessarily shared or mandated in EDA frameworks.

𝐒𝐞𝐥𝐟-𝐚𝐰𝐚𝐫𝐞𝐧𝐞𝐬𝐬 𝐚𝐧𝐝 𝐈𝐧𝐭𝐞𝐠𝐫𝐚𝐭𝐢𝐨𝐧:
A system based on UNS is expected to be self-aware, seamlessly integrating new communication participants. This feature is not a standard expectation in EDA.

𝐔𝐬𝐞 𝐨𝐟 𝐏𝐮𝐛/𝐒𝐮𝐛 𝐌𝐞𝐜𝐡𝐚𝐧𝐢𝐬𝐦𝐬:
While UNS invariably uses Publish/Subscribe models, EDA does not mandate this, though it often makes sense.

Until next week, take care!

Kudzai

Leave a Reply