What is a MESSAGE QUEUE and Where is it used?

Описание к видео What is a MESSAGE QUEUE and Where is it used?

Messaging Queues are widely used in asynchronous systems. Message processing in an asynchronous fashion allows the client to relieve itself from waiting for a task to complete and, hence, can do other jobs during that time. It also allows a server to process its jobs in the order it wants to.

Messaging Queues provide useful features such as persistence, routing, and task management. We will be discussing the benefits of a message queue in future videos.

A system having a message queue can move to higher-level requirements while abstracting implementation details of message delivery and event handling to the messaging queue.

The 'queue' is just a name for this data structure. In practice, it could be storing messages using any policy. Some examples of message queues are Kafka and RabbitMQ. They are widely used for various purposes, such as command query request segregation (CQRS) and event sourcing.

00:00 Pizza Shop Example
01:40 Benefits of Asynchronous Processing
02:44 Scaling Shops (Horizontally)
03:10 Fault Tolerance
04:09 Features of a message queue
08:38 Encapsulation
09:38 Thank you!

Code: https://github.com/coding-parrot/Low-...

Looking to ace your next interview? Try this System Design video course! 🔥
https://interviewready.io

With video lectures, architecture diagrams, capacity planning, API contracts, and evaluation tests. It's a complete package.

Asynchronous Request-Response:
https://stackoverflow.com/questions/1...
http://www.enterpriseintegrationpatte...

Message Queue:
http://blog.codepath.com/2013/01/06/a...
http://highscalability.com/blog/2012/...
https://www.cloudamqp.com/blog/2014-1...
https://www.rabbitmq.com/getstarted.html

Load Balancing:
   • What is CONSISTENT HASHING and Where ...  

You can find me here:
  / gkcs0  
https://www.quora.com/profile/Gaurav-...
https://github.com/gkcs/

#message-queue #system-design #scalability #server

Комментарии

Информация по комментариям в разработке