Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
What is a MESSAGE QUEUE and Where is it used?
Play lesson

System Design Playlist - What is a MESSAGE QUEUE and Where is it used?

5.0 (1)
14 learners

What you'll learn

This course includes

  • 6.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

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-Level-Design/tree/master/distributed-event-bus 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/16715380/what-is-difference-between-asynchronous-http-request-and-synchronous-http-reques http://www.enterpriseintegrationpatterns.com/patterns/conversation/RequestResponse.html Message Queue: http://blog.codepath.com/2013/01/06/asynchronous-processing-in-web-applications-part-2-developers-need-to-understand-message-queues/ http://highscalability.com/blog/2012/12/17/11-uses-for-the-humble-presents-queue-er-message-queue.html https://www.cloudamqp.com/blog/2014-12-03-what-is-message-queuing.html https://www.rabbitmq.com/getstarted.html Load Balancing: https://www.youtube.com/watch?v=zaRkONvyGr8 You can find me here: https://www.facebook.com/gkcs0/ https://www.quora.com/profile/Gaurav-Sen-6 https://github.com/gkcs/ #message-queue #system-design #scalability #server

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere