-
Notifications
You must be signed in to change notification settings - Fork 450
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
Function on flex consumption cancelling <100ms under heavy load #10693
Comments
I've checked on a linux consumption plan and can see the same behavior, e.g.:
The consumption plan performed significantly worse and I started to get ~2.4k of these messages a minute:
|
I've run the same load on the same build on an elastic premium plan and did not get exceptions |
Hello @jeremy-skippen-jbhifi Thank you reporting the issue will check and let you know further steps |
Could you please let me know the steps to reproduce the issue. |
/bot not-stale |
@JAdluri can you please reopen this issue, I've been on leave for 2 weeks over the holiday period so missed these updates. The reproduction steps are described in the description of the issue - I have a storage queue triggered function that I'm hitting hard with lots of messages. Do you need a sample application? |
@JAdluri here's a cut-down version of the app that triggered the errors. I've run it locally and am getting the same cancellation errors, e.g. Invocation Id: 6299feb7-bb55-4dc2-af21-b4bd7c6efbfb |
Hello @jeremy-skippen-jbhifi I will look into this furtherly . Thanks for reporting back |
I'm seeing some behavior in a test app I've stood up where a small percentage of functions are being cancelled when under heavy load.
The app is a .NET 9 isolated function with a storage queue trigger.
Example:
Repro steps
My test function is triggered off a storage queue.
It does the following.
QueueMessage -> Get Blob -> Update Blob -> Call API
For my test I'm spamming the queue with messages and getting anywhere from 50k - 120k requests per minute.
A small percentage of these are failing with a task cancelled exception:
The cancellation is happening at all points in my test app; some during the Get Blob, some during the Update Blob, and some during the API step. 1 seems to have failed before the worker was invoked.
The text was updated successfully, but these errors were encountered: