An Azure service that provides a hybrid, multi-cloud management platform for APIs.
Before building a buffer, it is worth checking whether the Standard Service Bus tier is the real cause of the delays.
The Premium and Standard comparison lists Standard as “Variable latency” and Premium as “Predictable performance”, because Premium “provides dedicated resource isolation at the CPU and memory level”. What you are seeing, occasional responses over three seconds with no throttling or capacity issues, fits that pattern.
The same page lists Premium as “Fixed pricing” against Standard’s “Pay as you go variable pricing”, so it is worth pricing before deciding.
So the choice is:
- Premium: reduces the latency and lets you keep your current design, at a fixed cost.
- Buffer and worker: absorbs the latency, costs less at your volume, and also helps if Service Bus becomes unavailable.
If keeping the publish before acknowledge behaviour is important, Premium is the only option that preserves it.
Help make this community better for everyone: if this answer resolved your issue, please accept it or leave an upvote. If not, share more details in a comment so we can continue the discussion and find the right solution.