-
Notifications
You must be signed in to change notification settings - Fork 3k
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
VM: create LRO polling mechanism improvement #1346
Comments
The whole point of the 5 second polling interval was so that truly long running LROs (like VM create) didn't incur a penalty of roughly 1/2 the polling delay. If we end up using a short delay for short LROs and a long delay for long LROs, it seems like we have the same perf hit for the long LROs while just adding more requests for the short ones for no discernible benefit (don't know of anyone complaining about the relatively quick LROs). |
Agreed with your point. |
Also, this bug was opened per folks doing perf evaluation from other teams |
If we are going to end up with long polling intervals for long LROs, then why not just go back to the default of 30 sec? |
agree |
I suggest we live with it, for 2 reasons
If #1 becomes a problem say it starts to take more than 400 seconds, we can consider to updating the AutoRestAzure |
Are you saying we should ignore the RetryAfter Header of the ARM spec? Or provide a callback or something like this to open to customisation easily? |
@lmazuel, no, we should always respect 'RetryAfter'. For 'vm create' the service doesn't respond with
If needed, but like I mentioned early on, I suggest not to do it right now till we have user data |
Closing per reasons I provided. We can reactivate it when we have new data |
For now, we pull every 5 seconds.
We need to have this aggressive polling only for the first 400 seconds. After that we can have an incremental back-off. Having a flat polling every 5 seconds will have high risk of running into the ARM throttling limits.
The text was updated successfully, but these errors were encountered: