Interview Bootcamp
Vote

0% completed

Introduction to Messaging System

A large application is rarely a single program. It is a collection of services that must constantly pass data to each other. The part of the system that carries this data between services is called a messaging system. This lesson explains what a messaging system is, the two main models it uses, and why almost every large system depends on one.

The Problem: Services Talking Directly

Imagine a log aggregation service. It receives hundreds of log entries per second from many different sources

.....

.....

.....

Like the course? Get enrolled and start learning!
Valentino Christian

Valentino Christian

· 2 years ago

I understand how nodes can be horizontally scaled, and how a messaging system could be vertically scaled to allow more throughput through a particular topic, but how the queue or pub-sub messaging system itself be horizontally scaled?

Show 1 reply
Sid D

Sid D

· a year ago

In a pub-sub message system, when is a message dequeued since there might be another consumer waiting to read a message?

Sid D

Sid D

· a year ago

Do messaging systems ensure a chronological order when various producers try to enqueue a message?

Is ordering guaranteed for the consumer?

A

Anand Mohan

· 3 years ago

The messaging system that stores and maintains the messages is commonly known as the message broker. It provides a loose coupling between publishers and subscribers, or producers and consumers of data.

Show 1 reply