Home > Design Patterns > Service Messaging
Service Messaging

Service Messaging (Erl)

How can services interoperate without forming persistent, tightly coupled connections?

Problem

Services that depend on traditional remote communication protocols impose the need for persistent connections and tightly coupled data exchanges, increasing consumer dependencies and limiting service reuse potential.

Solution

Services can be designed to interact via a messaging-based technology, which removes the need for persistent connections and reduces coupling requirements.

Application

A messaging framework needs to be established, and services need to be designed to use it.

Impacts

Messaging technology brings with it QoS concerns such as reliable delivery, security, performance, and transactions.

Architecture

Inventory, Composition, Service
Service Messaging: Services interact via the transmission of messages--self-contained units of communication.

Services interact via the transmission of messages--self-contained units of communication.