0% found this document useful (0 votes)
21 views1 page

Azure Book 141

Uploaded by

jayantascribe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views1 page

Azure Book 141

Uploaded by

jayantascribe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

128

For each communication, consider the following question: Does the sending component expect the
communication to be processed in a particular way by the destination component?
●● If yes, choose to use a message.
●● If no, you might be able to use events.

Design a messaging solution


In this unit, you’ll learn how to choose the best architecture for a message-based delivery system. Let’s
imagine you’re planning the music-sharing application. You want to:
●● Ensure that music files are uploaded to the web API reliably from the mobile app.
●● Deliver the details about new songs directly to the app. For example, when an artist adds new music
to their collection.
This scenario is a perfect use of a message-based system. Azure offers two message-based solutions
Queue Storage and Azure Service Bus (queues and topics).

What is Azure Queue Storage?


Azure Queue storage3 is a service that uses Azure Storage to store large numbers of messages. These
messages can be securely accessed from anywhere in the world using a simple REST-based interface.
Queues can contain millions of messages. Azure Queue storage is limited only by the capacity of the
storage account that owns it. Queues generally provide increased reliability, guaranteed message deliv-
ery, and transactional support.

What is Azure Service Bus?


Microsoft Azure Service Bus is a fully managed enterprise message broker with message queues and
publish-subscribe topics. Service Bus is used to decouple applications and services from each other,
providing the following benefits:
●● Load-balancing work across competing workers.
●● Safely routing and transferring data and control across service and application boundaries.
●● Coordinating transactional work that requires a high degree of reliability.

What are Azure Service Bus Queues?


Azure Service Bus queues4 is is a message broker system built on top of a dedicated messaging infra-
structure. Like Azure queues, Service Bus holds messages until the target is ready to receive them.

3 https://docs.microsoft.com/azure/storage/queues/storage-queues-introduction
4 https://docs.microsoft.com/azure/service-bus-messaging/service-bus-queues-topics-subscriptions

You might also like