Event-driven messaging

The event-driven messaging is a design pattern to enable the service consumers, which are interested in events that occur within the periphery of a service provider, to get notifications about these events as and when they occur without resorting to the traditional inefficient polling based mechanism.[1]

It's important to differentiate between event-driven and message-driven (aka queue driven) services: Event-driven services (e.g. AWS SNS) are decoupled from their consumers. Whereas queue / message driven services (e.g. AWS SQS) are coupled with their consumers. [2]

  1. ^ Wajid Khattak, Vijay Narayanan.Event-Driven Messaging[Online].Date accessed: 27 April 2010.
  2. ^ Domain-Driven Design with Java - A Practitioner's Guide. 2022. ISBN 9781800564763.

From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Nelliwinne