Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Service Bus: What's a 'request' and a 'message'?

In Microsoft Azure, under service bus, you can see activity graphs for the different queues/topics etc.

The graph shows various different lines, such as incoming messages, outgoing messages, successful requests etc.

What is a Request? And what is a Message?

Requests seem to be constantly occurring and often significantly large than the number of messages (in topics). Even though the number of servers listening to the queue remains the same - sometimes the number of requests will dramatically increase without seeing any change in the number of messages.

Azure Service Bus monitoring graph

like image 298
simbolo Avatar asked Apr 04 '14 11:04

simbolo


People also ask

What is Azure messaging in Service Bus?

Azure Service Bus is a fully managed enterprise message broker with message queues and publish-subscribe topics (in a namespace). Service Bus is used to decouple applications and services from each other, providing the following benefits: Load-balancing work across competing workers.

How do you send a message to Azure Service Bus?

Service Bus – Sending messages to Queues or Topics 1. To send a message to a Queue or a Topic, right click on the queue or topic name on the Service Bus Explorer navigation pane and select “Send Messages”.

Does Azure Service Bus store messages?

Azure Service Bus Architecture Queues store incoming messages until the receiving application is available to receive and process them.


1 Answers

I assume that a request is a poll on a queue / subscription, even if that didn't result in a message being pulled. With the OnMessage message pump model , you typically wait 'forever' until a message arrives, resulting mostly in an equal number of receives & messages. But when your role/thread/pump stops and restarts, that will trigger a new receive, even if no message was found.

like image 181
Sam Vanhoutte Avatar answered Sep 28 '22 12:09

Sam Vanhoutte