Troubleshooting bottleneck in simple azure function


hi guys,

i have simple azure function accepting webhook , immediately

writes 2 storage queues (code below).

today triggered made webhook called approximately few hundred times on a short period of time (i'm guessing invoked 1.500 times in loop external service).

the first dozen calls went through fine runtime seemed hang , after restarting couple of times seems function calls retried in bursts , succeeded. checking monitoring saw dozens of functions hanging (...) on 80 seconds.

the function app runs on basic plan , didn't see peaks in cpu or memory in time period.

i want understand better why runtime behaves , how can diagnose these issues , potentially remove bottlenecks before scaling up. seems me kind of work (only io bound, using node , azure storage , fn bindings) should perfect fit azure functions , should run performance problems already.

any apprecheated.

module.exports = function (context, data) {
context.bindings.queue1= [{
partitionkey: 'ax',
rowkey: data.event + "-" + date.now(),
value: 1.0

}];

context.bindings.queue2 = [{ action: 'event', name: data.event }];

context.done();
}


can share function app name either directly or indirectly (https://github.com/azure/azure-webjobs-sdk-script/wiki/sharing-your-function-app-name-privately) , i'll take look

software engineer - azure functions



Microsoft Azure  >  Azure Functions



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'