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

让人想犯罪 __ 提交于 2019-12-13 13:24:20

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/22861571/azure-service-bus-whats-a-request-and-a-message

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!