Skip to content

Function w/ Service Bus Trigger not Scaling down #2036

Answered by mluker
JFolberth asked this question in Q&A
Discussion options

You must be logged in to vote

I wanted to add a little more context to this as I was part of the original issue/troubleshooting and working directly with @JFolberth.

A change I made that seemed to produce more reliable scaling for our function was to grant 'Manage' rights for the trigger on the service bus. This stopped the function from immediately scaling out to ~65 instances. Before making that change, the scale out would happen even with with no messages or trigger executions. It would just scale out for no good reason and never scale back in.

It ran well for awhile, maybe a few weeks, without scaling but then we had a scale out to ~10 instances (I had set the scale to max at 10 just incase) with basically no traf…

Replies: 2 comments 18 replies

Comment options

You must be logged in to vote
13 replies
@JFolberth
Comment options

@davidmrdavid
Comment options

@cgillum
Comment options

@JFolberth
Comment options

@cgillum
Comment options

Comment options

You must be logged in to vote
5 replies
@cgillum
Comment options

@JFolberth
Comment options

@cgillum
Comment options

@JFolberth
Comment options

@davidmrdavid
Comment options

Answer selected by cgillum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants