Scale # of servers in consumption plan based on Service Bus Queue Size
My service bus will spike at the top of each hour with up to 1000+ messages to get processed immediately. It would be nice for the consumption plan to allow us to scale the # of servers to come online to be based on that queue size. Example: for 1000 messages, I would like 10 servers to come online (1 server per 100 in the queue).
We don’t currently plan to expose custom scaling logic in the consumption plan. The app service plan does allow you to specify starting scale and can auto-scale from there.
A mechanism that controls the queue read speed would be a big contribution. On several occasions I had big bursts in queues, but I do not mind the processing speed of the queue. I had two choices: rewriting the code, or putting a bigger sql azure database in place. A simple setting allowing to control #servers would have solved this problem in a much easier way.