[https://paulyukstoragev2.blob.core.windows.net/flex-under-hood/functions-scale-under-hood.pptx]
[https://gist.github.com/paulyuk/7609612ad5330e4e3aaf66b844b93075]
[https://aka.ms/flexconsumption/samples]
[https://github.com/eamonoreilly/AzureFunctionsOpenAI-RAG-Assistant]
"extensions": {
"serviceBus": {
"maxConcurrentCalls": 1
}
export RESOURCE_GROUP="rg-flex-eh-oslo-con8"
export SERVICE_API_NAME="func-api-m35reac5p4h4a-functions"
export CONCURRENCY=1
az functionapp scale config set --resource-group $RESOURCE_GROUP --name $SERVICE_API_NAME --trigger-type http --trigger-settings perInstanceConcurrency=$CONCURRENCY
https://learn.microsoft.com/en-us/azure/azure-functions/functions-diagnostics
https://thenewstack.io/how-to-conquer-cold-starts-for-better-performance/