yeliner.blogg.se

Microsoft message queue tutorial
Microsoft message queue tutorial




Queues provide messages to one or more competing customers in a First In, First Out (FIFO) fashion. A single recipient receives every single message.Each queue acts as a broker that stores sent messages until they are received.Message sessions : Certain messages need not be delivered urgently, Service Bus allows the messages to be scheduled and delivered to destinations based on filters that can be specified by the users. Service Bus allows the messages to be processed any number of times to take necessary actions from a single transaction. Multiple actions might need to be taken from a single message. Transactions : This allows you to perform many operations within the same atomic transaction. Service Bus allows messages to be processed in an orderly fashion depending on the requirements which can balance the load on the processing. If an app is doing this on its own, it can put a heavy load on its computing resources. The request coming in from all over the world would create the need for the apps and services to transfer and process large amounts of data. Load Balancing : Allow many customers to read at the same time. Service Bus allows the apps to work independently by taking care of the communication between them which increases their efficiency. If the applications are coupled together, a fault from one side can stop the entire system from working. The load is distributed evenly so that the producer and consumer need not be online at the same time and traffic surges do not overwhelm a service.Īpplications working on a global scale would be dealing with humongous amounts of data transfer which is vital for one another to perform.

microsoft message queue tutorial

The communication formats in these cases are different from one another and Service Bus provides different ways to process them.ĭecouple applications : Improve application and service scalability and reliability. An e-commerce app would need to constantly communicate with the logistics service, the users, the product catalogs, etc to maintain proper function. Messaging : Exchanging data related to business, e-commerce, application data, etc. The common messaging scenarios in which Azure Service Bus works are: Azure Service Bus serves as a messenger for these data transfers. The data transferred between various applications and services can be any type of information, including data encoded in standard formats like structured Plain Text, JSON, XML, etc.






Microsoft message queue tutorial