Common Messaging Patterns in [Distributed Systems]

preview_player
Показать описание
*Common Messaging Patterns in [Distributed Systems]*

In distributed systems, messaging patterns refer to the different ways in which components or nodes communicate and exchange information with each other. These patterns define the structure and flow of messages within the system, enabling coordination, data sharing, and synchronization among distributed components.

Here are some common messaging patterns we are going to discuss in this TechTalk -

1. Request-Reply: This pattern involves a sender component sending a request message to a receiver component and waiting for a corresponding reply message. It is often used in synchronous communication, where the sender expects a timely response.

2. Publish-Subscribe: Also known as pub-sub, this pattern involves a sender (publisher) broadcasting messages to multiple receivers (subscribers) without the senders having explicit knowledge of the subscribers. Subscribers express interest in certain types of messages and receive relevant updates.

3. Message Queue: In this pattern, messages are stored in a queue until they are consumed by the intended receiver. It enables asynchronous communication and decouples the sender and receiver, allowing them to operate at different speeds or times.

#messaging #systemdesign #distributedsystems #pubsub #requestreply #messagequeue

Chapters :
0:00 - Introduction
0:39 - 1. Request/Reply messaging pattern
3:42 - 2. Publish-Subscribe messaging pattern
8:45 - 3. Message Queue messaging pattern
13:11 - Pub-Sub vs Message Queue
Рекомендации по теме