Fix bug in Subscription API - too slow
API requests for subscription messages sometimes return immediately; sometimes they are delayed by 30-60 seconds. Regardless of the number of messages available. This makes the the bus completely unusable. I consistently see this behaviour in the python sdk and when posting directly, using curl. Sending to the topic does not exhibit this solwdown.
silver sky commented
Here is the solution for that
I was also facing the same problem using azure sdk
Than i tried AMQP (Advance messaging query protocol) in node js library the link is below
After using this
I was getting reply in 1 to 2 seconds.
Have a try for it
Same problem using the rest queue api , sending message is fast but receiving message may be delayed by minutes even if the message seem ready in the queue.
Kjetil Valen commented
I am experiencing somewhat similar issues using the Azure Service Bus. Receive message may take up to a minute, even though I can see on the azure monitor page that the message is ready to be received.
Richard Bjørntvedt commented
We are also having what seems to be the exact same problem. We are using https://www.npmjs.com/package/azure in Node.
Are you going to do anything to fix this?
Is there a solution to this? Even with a simple model, connecting ML API to a web application results in a response time of 10-20 seconds. Has anyone found ways to address this?