Deep Dive into Event-Driven Architecture - Deepstash
Deep Dive into Event-Driven Architecture

Deep Dive into Event-Driven Architecture

Curated from: towardsai-net.cdn.ampproject.org

Ideas, facts & insights covering these topics:

7 ideas

·

471 reads

3

Explore the World's Best Ideas

Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.

Topology of Event-Driven Architecture

It is important to understand the topology of event-driven architecture to deep dive into various sub-patterns of event-driven architecture. This architecture pattern is based on two main topologies :

  • Mediator
  • Broker

7

194 reads

Mediator Topology

The central mediator plays an important role in mediator topology . It is generally used when it is required to orchestrate various steps with an event through a central mediator. It is helpful for events that have multiple events and needs some level of orchestration to process the event.

Example: Design GPS Programm in a Vehicle

For overall vehicle safety, navigation, and cost estimation plans, GPS data is considered the starting point for designing a proper GPS for a vehicle. They are intended to provide proper business and safety goals.

7

70 reads

Mediator

The mediator component acts as an orchestrator for every initial step. It identifies the type of event or type of data and sends it to a specific Chann el.

Several tools are present to handle mediator topology. Example- jBPM, Mule ESB, Apache Camel, Spring Integration, etc.

8

47 reads

Queue

Event Queue is used to carry the event to the event mediator. It is a kind of enterprise messaging queue system. There are several messaging systems like RabbitMQ, Kafka, etc.

7

42 reads

Channel

The event channel is utilized by the event mediator to pass particular events related to each step in the primary event to the event processors. It can be either message topic or message queue.

7

42 reads

Processor

It is a component or service application that contains business logic for the execution of business needs on receiving of events. Nowadays these are microservice-based components. It can be a channel queue consumer as well.

8

39 reads

Broker Topology

In Broker topology, the message flow is distributed across the event processor on receiving of event. It is different from a mediator because it is not central. It is useful in chain types of processing. sup

Example: Design Online Food Ordering System

Online food ordering is the process of ordering food from a website.

  • User selects restaurant and orders food.
  • Pays for the ordered food.
  • Restaurant receives notification
  • Delivery partner receives notification
  • Restaurant handovers food to the delivery partner
  • Delivery partner delivers food to the user

7

37 reads

IDEAS CURATED BY

Mausam Adhikari's ideas are part of this journey:

Metaverse

Learn more about artsandculture with this collection

Find out the challenges it poses

Learn about the potential impact on society

Understanding the concept of Metaverse

Related collections

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates