Book Image

Learning Microsoft Azure

By : Geoff Webber Cross, Geoff Webber-Cross
Book Image

Learning Microsoft Azure

By: Geoff Webber Cross, Geoff Webber-Cross

Overview of this book

Table of Contents (19 chapters)
Learning Microsoft Azure
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introducing Azure Service Bus and topics


Service Bus technology, in general (not specific to Microsoft or Azure), allows multiple subsystem tiers in enterprise systems to communicate with each other in a loosely coupled and resilient manner.

Service Bus queues have a one-to-one relationship between providers and consumers, where a provider posts a message to a queue and it can be removed and processed once by a single consumer. This means we can easily scale up a consumer application without the fear of duplicating work; however, if we have a different application that may be interested in the same message, which is the case in our Azure Bakery system, we will need multiple processing applications to receive the same messages. This is the reason we selected an Azure Service Bus topic.

Service Bus topics handle messages to queues in a similar way, except that we can have multiple subscriptions for a topic that has a one-to-one relationship, where the applications interact in a similar way with...