---
title: "Discussion on \"Everything You Need To Know About Message Queues: A Complete Guide\" | Hashnode"
description: "Discussion on \"Everything You Need To Know About Message Queues: A Complete Guide\". Message queues are one of the critical components in any software architecture which helps different components talk to each other asynchronously. In this article let's discuss what message queues are, how they're used in modern architectures and wha..."
url: "https://hashnode.com/posts/everything-you-need-to-know-about-message-queues-a-complete-guide/5fb22410f37527517dc92356"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Everything You Need To Know About Message Queues: A Complete Guide](https://sunilkumarc.in/everything-you-need-to-know-about-message-queues-a-complete-guide?utm_source=hashnode&utm_medium=feed)

Message queues are one of the critical components in any software architecture which helps different components talk to each other asynchronously. In this article let's discuss what message queues are, how they're used in modern architectures and wha...

Nov 16, 2020 · 11 min read · sunilkumarc.in  
Read the article

-   [#message-queue](https://hashnode.com/tag/message-queue)
-   [#aws](https://hashnode.com/tag/aws)
-   [#system-architecture](https://hashnode.com/tag/system-architecture)
-   [#distributed-system](https://hashnode.com/tag/distributed-system)

## Written by

[Sunil Kumar](https://hashnode.com/@sunilkumarc)

@sunilkumarc · Bangalore, India.

  
[View profile](https://hashnode.com/@sunilkumarc)

I am a lead backend developer at a unicorn startup in India. I freelance in my free time and teach people how to make passive income on the internet. You can also expect technical articles, how-to tutorials, system designing concepts and anything tech in general on my blog.

## Responses 1

Markdown supported · ⌘↵ to post

[Samuel Johnson R](https://hashnode.com/@samiemovic)

[Dec 15, 2020](https://hashnode.com/posts/everything-you-need-to-know-about-message-queues-a-complete-guide/5fb22410f37527517dc92356/comment/5fd829942444ad0ea8512253)

Hi. It's a great read. I have a doubt regarding the example you have shared. The client requests the service for invoice creation using rest and thus it gets the response in the same call. But when using message queue, the request will be made to the invoice generation which in turn push to queue for other components to process asynchronously, so how the client comes to know of the response in this case. Am I missing anything.

[Sunil Kumar](https://hashnode.com/@sunilkumarc)

[Dec 15, 2020](https://hashnode.com/posts/everything-you-need-to-know-about-message-queues-a-complete-guide/5fb22410f37527517dc92356/comment/5fd829942444ad0ea8512253#reply-5fd82d347418a90e83c89b4d)

Good question. In this case the the invoice service returns response to the client as soon as it puts the message into the queue. The client need not know the status of invoice generation.

The worker process takes care of collecting the invoice data and generation of the PDF asynchronously.

[Samuel Johnson R](https://hashnode.com/@samiemovic)

[Dec 15, 2020](https://hashnode.com/posts/everything-you-need-to-know-about-message-queues-a-complete-guide/5fb22410f37527517dc92356/comment/5fd829942444ad0ea8512253#reply-5fd82eb12444ad0ea851226b)

[Sunil Kumar](https://hashnode.com/@sunilkumarc) Great okay. I can think of sending the pdf as a mail asynchronously too. Thanks for the clarification.
