Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support ReceiveBatch in servicebus.py #459

Closed
lezi226 opened this issue Aug 26, 2015 · 4 comments
Closed

Add support ReceiveBatch in servicebus.py #459

lezi226 opened this issue Aug 26, 2015 · 4 comments
Labels
Service Attention This issue is responsible by Azure service team. Service Bus

Comments

@lezi226
Copy link

lezi226 commented Aug 26, 2015

Hi, currently servicebus.py only support to get one message at a time. It's slow if I have many message to handle.
Can you add ReceiveBatch support? ReceiveBatch exist in C# library.

Thanks

@huguesv
Copy link
Contributor

huguesv commented Aug 26, 2015

Unfortunately, in this case, there doesn't seem to be a REST API that provides batch receive.
https://msdn.microsoft.com/en-us/library/azure/hh780762.aspx

FYI: C# doesn't go through the REST API, that's why they are both faster and have a different set of functionality.

@lezi226
Copy link
Author

lezi226 commented Aug 27, 2015

Actually, I don't care about the underlying transport.
Why can't you change the transport to the one C# use to provide better functionality?

@huguesv
Copy link
Contributor

huguesv commented Aug 27, 2015

If I was you, I wouldn't care about that either. I reached out to someone from the service bus team to let them know about your request. You're not the first to ask/complain about service bus REST API poor performance compared to C#.

@lmazuel
Copy link
Member

lmazuel commented Jul 26, 2016

Just had a discussion with the ServiceBus team. For problem around performance and missing features, the current recommendation from the ServiceBus team is to use AMQP instead of HTTP:
https://azure.microsoft.com/en-us/documentation/articles/service-bus-amqp-python/

The ServiceBus team were not able to propose better performance using HTTP, due to HTTP limit.

@lmazuel lmazuel closed this as completed Jul 26, 2016
@bsiegel bsiegel added the Service Attention This issue is responsible by Azure service team. label Sep 26, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Service Attention This issue is responsible by Azure service team. Service Bus
Projects
None yet
Development

No branches or pull requests

4 participants