SlideShare a Scribd company logo
Azure Functions Best Practices
Juan Pablo Garcia
Principal SDE Lead, Microsoft Corp
@liarjo
Serverless Computing with Azure Functions Best Practices
Best
Practices
General
Performance
DEV/OPS
Cost
Serverless platform components
Azure Functions
Process events with Serverless code.
Make composing Cloud Apps insanely easy
Develop Functions in C#, Node.js, F#, and more
Easily schedule event-driven tasks across services
Expose Functions as HTTP API endpoints
Scale Functions based on customer demand
Easily integrate with other services
Best
Practices
General
Performance
DEV/OPS
Cost
General Best Practices
• Write defensive functions
• Write functions to be stateless
• Avoid long running functions
• Cross function communication
• Durable Functions and Azure Logic Apps are built to manage state transitions
and communication between multiple functions.
• Pass message using queue
• Use Azure Functions bindings for simple interactions (with CosmosDB,
Service Bus, etc)
• Best to use the SDKs directly for anything more complex or for better error
handling
Best
Practices
General
Performance
DEV/OPS
Cost
DEV/OPS
• Use Source control and CI/CD pipeline
DEV/OPS
• Always Monitoring!
• Azure Functions has two built in monitoring solutions
• WebJobs dashboard & Application Insights
DEV/OPS / Application Insights
• Live Stream: see a near-live view of what’s coming from your Function App
• Metrics Explorer: insights on your metrics coming from your Function App
• Failures: insights on which things are failing
• Performance: information on the count, latency, and more of Function
executions
• Servers: esource utilization and throughput per server (Putting the servers
back in Serverless)
• Antilytic Portal: Write custom queries against your data
• Alerts*
Best
Practices
General
Performance
DEV/OPS
Cost
Scalability Best Practices
• Use async code but avoid blocking calls
• C# example: Result V/S await
Scalability Best Practices
• Watch your outbound socket connections
• limit is 300 on Consumption plan + use connection pooling
Scalability Best Practices
• Configure host behaviors to better handle concurrency
“scale paradox?“
Scalability Best Practices
• Receive messages in batch whenever possible/the
functions process messages in batches
Best
Practices
General
Performance
DEV/OPS
Cost
Cost
• Consumption plan
• Executions
• total number of requested executions each month for all functions
• The first million executions are included free each month.
• Resource consumption
• “Observed resource consumption” measured in gigabyte seconds (GB-s).
• Observed resource consumption is calculated by multiplying average memory size in gigabytes by
the time in milliseconds it takes to execute the function.
• Memory used by a function is measured by rounding up to the nearest 128 MB, up to the
maximum memory size of 1,536 MB
• Execution time calculated by rounding up to the nearest 1 ms.
• The minimum execution time and memory for a single function execution is 100 ms and 128 mb
respectively.
• Functions pricing includes a monthly free grant of 400,000 GB-s.
• App Service plan
• Same as usual for Web apps
Best
Practices
General
Performance
DEV/OPS
Cost
References
• Optimize the performance and reliability of Azure Functions
• https://docs.microsoft.com/en-us/azure/azure-functions/functions-best-practices
• Processing 100,000 Events Per Second on Azure Functions
• https://blogs.msdn.microsoft.com/appserviceteam/2017/09/19/processing-100000-events-per-second-on-azure-functions/
• Azure Functions – Significant Improvements in HTTP Trigger Scaling
• https://www.azurefromthetrenches.com/azure-functions-significant-improvements-in-http-trigger-scaling/
• Azure Function Apps: Performance Considerations
• https://blogs.msdn.microsoft.com/amitagarwal/2018/04/03/azure-function-apps-performance-considerations/
• How we checked and fixed the 503 error and Performance issue in our Azure Function
• https://blogs.msdn.microsoft.com/visualstudioalmrangers/2018/04/03/how-we-checked-and-fixed-the-503-error-and-
performance-issue-in-our-azure-function/
• Host Health Monitor
• https://github.com/Azure/azure-functions-host/wiki/Host-Health-Monitor
• Functions pricing
• https://azure.microsoft.com/en-us/pricing/details/functions/
References
• Azure Functions – Prepare for continuous delivery
• https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/09/06/azure-functions-prepare-for-continuous-delivery/
• Azure Function – Integration tests automation
• https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/09/24/azure-function-integration-tests-automation/
• Azure Web App sandbox
• https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox
• High throughput Azure Functions on HTTP
• https://codez.deedx.cz/projects/high-throughput-azure-functions-on-http/

More Related Content

What's hot (18)

PDF
Vietnam Global Azure Bootcamp 2019 - Security on Azure Kubernetes Services wi...
Duc Lai Trung Minh
 
PPTX
Resilience from Theory to Practice
LivePerson
 
PDF
Serverless security - how to protect what you don't see?
Sqreen
 
PPTX
Kinh nghiệm phát triển Captain Strike
GameLandVN
 
PPTX
Introducing Nava SIEM Agent
Linkgard
 
PDF
Events and metrics the Lifeblood of Webops
Datadog
 
PPTX
Captain strike backend post-mortem
JOY Entertainment
 
PPTX
Serverless real use cases and best practices: Asavari Tayal, Microsoft, Serve...
iguazio
 
PPTX
Webinar: Gaining Insights into MongoDB with MongoDB Cloud Manager and New Relic
MongoDB
 
PDF
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
George Grammatikos
 
PPT
Nordstrom Data Lab Recommendo API with Node.js
David Von Lehman
 
PPTX
The Life Of a User Session
Redis Labs
 
PDF
What makes me to migrate entire VPC JAWS PANKRATION 2021
Naomi Yamasaki
 
PPTX
Qui Quaerit, Reperit. AWS Elasticsearch in Action
GlobalLogic Ukraine
 
PPTX
AWS Meetup - Nordstrom Data Lab and the AWS Cloud
NordstromDataLab
 
PDF
NGINX Amplify: Monitoring NGINX with Advanced Filters and Custom Dashboards
NGINX, Inc.
 
PDF
Puppet Camp Charlotte 2015: Introduction to SIMP: An Open Source Infrastructu...
Puppet
 
PDF
Hbasecon2013 Wrap Up
Minwoo Kim
 
Vietnam Global Azure Bootcamp 2019 - Security on Azure Kubernetes Services wi...
Duc Lai Trung Minh
 
Resilience from Theory to Practice
LivePerson
 
Serverless security - how to protect what you don't see?
Sqreen
 
Kinh nghiệm phát triển Captain Strike
GameLandVN
 
Introducing Nava SIEM Agent
Linkgard
 
Events and metrics the Lifeblood of Webops
Datadog
 
Captain strike backend post-mortem
JOY Entertainment
 
Serverless real use cases and best practices: Asavari Tayal, Microsoft, Serve...
iguazio
 
Webinar: Gaining Insights into MongoDB with MongoDB Cloud Manager and New Relic
MongoDB
 
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
George Grammatikos
 
Nordstrom Data Lab Recommendo API with Node.js
David Von Lehman
 
The Life Of a User Session
Redis Labs
 
What makes me to migrate entire VPC JAWS PANKRATION 2021
Naomi Yamasaki
 
Qui Quaerit, Reperit. AWS Elasticsearch in Action
GlobalLogic Ukraine
 
AWS Meetup - Nordstrom Data Lab and the AWS Cloud
NordstromDataLab
 
NGINX Amplify: Monitoring NGINX with Advanced Filters and Custom Dashboards
NGINX, Inc.
 
Puppet Camp Charlotte 2015: Introduction to SIMP: An Open Source Infrastructu...
Puppet
 
Hbasecon2013 Wrap Up
Minwoo Kim
 

Similar to Serverless Computing with Azure Functions Best Practices (20)

PPTX
#SpFestSea azr203 Azure functions lessons learned
Vincent Biret
 
PPTX
JoTechies - Azure Functions Using c#
JoTechies
 
PDF
Azure functions
Rajesh Kolla
 
PPTX
Azure Functions.pptx
YachikaKamra
 
PDF
Serverless API with Azure Functions
Analben Mehta
 
PPTX
Azure Functions e Azure Logics Apps: i tuoi coltellini svizzeri per gestire i...
Marco Parenzan
 
PPTX
Introduction to Azure Functions
Callon Campbell
 
PPTX
Scalable APIs with Azure Functions
Christos Matskas
 
PPTX
Azure Functions - Introduction
Venkatesh Narayanan
 
PDF
Getting Started with Serverless Architectures using Azure Functions
Marc Duiker
 
PPTX
Azure Functions @ global azure day 2017
Sean Feldman
 
PDF
Azure Functions
AxEdge Consulting
 
PPTX
Cloud Dev with Azure Functions - DogFoodCon 2018 - Brian T Jackett
Brian T. Jackett
 
PDF
Serverless Computing with Azure
Analben Mehta
 
PPTX
Durable Azure Functions
Pushkar Saraf
 
PPTX
slides.pptx
abcabc794064
 
PPTX
Unleash the power of Serverless Computing
Gaurav Madaan
 
PPTX
Develop in ludicrous mode with azure serverless
Lalit Kale
 
PPTX
Building API in the cloud using Azure Functions
Aleksandar Bozinovski
 
PPTX
#SPFestDC #Azure #Functions V2: What's new and getting started
Vincent Biret
 
#SpFestSea azr203 Azure functions lessons learned
Vincent Biret
 
JoTechies - Azure Functions Using c#
JoTechies
 
Azure functions
Rajesh Kolla
 
Azure Functions.pptx
YachikaKamra
 
Serverless API with Azure Functions
Analben Mehta
 
Azure Functions e Azure Logics Apps: i tuoi coltellini svizzeri per gestire i...
Marco Parenzan
 
Introduction to Azure Functions
Callon Campbell
 
Scalable APIs with Azure Functions
Christos Matskas
 
Azure Functions - Introduction
Venkatesh Narayanan
 
Getting Started with Serverless Architectures using Azure Functions
Marc Duiker
 
Azure Functions @ global azure day 2017
Sean Feldman
 
Azure Functions
AxEdge Consulting
 
Cloud Dev with Azure Functions - DogFoodCon 2018 - Brian T Jackett
Brian T. Jackett
 
Serverless Computing with Azure
Analben Mehta
 
Durable Azure Functions
Pushkar Saraf
 
slides.pptx
abcabc794064
 
Unleash the power of Serverless Computing
Gaurav Madaan
 
Develop in ludicrous mode with azure serverless
Lalit Kale
 
Building API in the cloud using Azure Functions
Aleksandar Bozinovski
 
#SPFestDC #Azure #Functions V2: What's new and getting started
Vincent Biret
 
Ad

More from Juan Pablo (20)

PPTX
Alteryx and Power BI better together
Juan Pablo
 
PPTX
Windows Azure VPN Workshop
Juan Pablo
 
PPTX
Using windows azure to develop secure and deploy cloud applications Santiago ...
Juan Pablo
 
PPTX
BizTalk Server, BizTalk Services and Windows Workflow Foundation (WF)
Juan Pablo
 
PPTX
Windows Azure Queues and Windows Azure Service Bus Queues
Juan Pablo
 
PPTX
Tech series: Windows Azure Media Services
Juan Pablo
 
PPTX
1. keynote Transformando la Nube en una oportunidad de crecimiento
Juan Pablo
 
PPTX
Windows Azure Web Sites #wapucolombia
Juan Pablo
 
PPTX
Windows Azure Media Services WAPU Bogotá
Juan Pablo
 
PPTX
Windows Azure IaaS & vNet
Juan Pablo
 
PPTX
Nubes Privadas
Juan Pablo
 
PPTX
Introducción Windows Azure
Juan Pablo
 
PPTX
Introducción soa
Juan Pablo
 
PPTX
Cloud computing explained
Juan Pablo
 
PPT
Exprimiendo SharePoint 2010
Juan Pablo
 
PPTX
Introduccion a la seguridad en Windows Azure
Juan Pablo
 
PPTX
Qué hace un arquitecto de soluciones?
Juan Pablo
 
PPTX
Servicios de datos en la nube
Juan Pablo
 
PPTX
Windows Azure, Lo mejor del PDC
Juan Pablo
 
PPTX
The azure platform TechDay2010
Juan Pablo
 
Alteryx and Power BI better together
Juan Pablo
 
Windows Azure VPN Workshop
Juan Pablo
 
Using windows azure to develop secure and deploy cloud applications Santiago ...
Juan Pablo
 
BizTalk Server, BizTalk Services and Windows Workflow Foundation (WF)
Juan Pablo
 
Windows Azure Queues and Windows Azure Service Bus Queues
Juan Pablo
 
Tech series: Windows Azure Media Services
Juan Pablo
 
1. keynote Transformando la Nube en una oportunidad de crecimiento
Juan Pablo
 
Windows Azure Web Sites #wapucolombia
Juan Pablo
 
Windows Azure Media Services WAPU Bogotá
Juan Pablo
 
Windows Azure IaaS & vNet
Juan Pablo
 
Nubes Privadas
Juan Pablo
 
Introducción Windows Azure
Juan Pablo
 
Introducción soa
Juan Pablo
 
Cloud computing explained
Juan Pablo
 
Exprimiendo SharePoint 2010
Juan Pablo
 
Introduccion a la seguridad en Windows Azure
Juan Pablo
 
Qué hace un arquitecto de soluciones?
Juan Pablo
 
Servicios de datos en la nube
Juan Pablo
 
Windows Azure, Lo mejor del PDC
Juan Pablo
 
The azure platform TechDay2010
Juan Pablo
 
Ad

Recently uploaded (20)

PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 

Serverless Computing with Azure Functions Best Practices

  • 1. Azure Functions Best Practices Juan Pablo Garcia Principal SDE Lead, Microsoft Corp @liarjo
  • 5. Azure Functions Process events with Serverless code. Make composing Cloud Apps insanely easy Develop Functions in C#, Node.js, F#, and more Easily schedule event-driven tasks across services Expose Functions as HTTP API endpoints Scale Functions based on customer demand Easily integrate with other services
  • 7. General Best Practices • Write defensive functions • Write functions to be stateless • Avoid long running functions • Cross function communication • Durable Functions and Azure Logic Apps are built to manage state transitions and communication between multiple functions. • Pass message using queue • Use Azure Functions bindings for simple interactions (with CosmosDB, Service Bus, etc) • Best to use the SDKs directly for anything more complex or for better error handling
  • 9. DEV/OPS • Use Source control and CI/CD pipeline
  • 10. DEV/OPS • Always Monitoring! • Azure Functions has two built in monitoring solutions • WebJobs dashboard & Application Insights
  • 11. DEV/OPS / Application Insights • Live Stream: see a near-live view of what’s coming from your Function App • Metrics Explorer: insights on your metrics coming from your Function App • Failures: insights on which things are failing • Performance: information on the count, latency, and more of Function executions • Servers: esource utilization and throughput per server (Putting the servers back in Serverless) • Antilytic Portal: Write custom queries against your data • Alerts*
  • 13. Scalability Best Practices • Use async code but avoid blocking calls • C# example: Result V/S await
  • 14. Scalability Best Practices • Watch your outbound socket connections • limit is 300 on Consumption plan + use connection pooling
  • 15. Scalability Best Practices • Configure host behaviors to better handle concurrency “scale paradox?“
  • 16. Scalability Best Practices • Receive messages in batch whenever possible/the functions process messages in batches
  • 18. Cost • Consumption plan • Executions • total number of requested executions each month for all functions • The first million executions are included free each month. • Resource consumption • “Observed resource consumption” measured in gigabyte seconds (GB-s). • Observed resource consumption is calculated by multiplying average memory size in gigabytes by the time in milliseconds it takes to execute the function. • Memory used by a function is measured by rounding up to the nearest 128 MB, up to the maximum memory size of 1,536 MB • Execution time calculated by rounding up to the nearest 1 ms. • The minimum execution time and memory for a single function execution is 100 ms and 128 mb respectively. • Functions pricing includes a monthly free grant of 400,000 GB-s. • App Service plan • Same as usual for Web apps
  • 20. References • Optimize the performance and reliability of Azure Functions • https://docs.microsoft.com/en-us/azure/azure-functions/functions-best-practices • Processing 100,000 Events Per Second on Azure Functions • https://blogs.msdn.microsoft.com/appserviceteam/2017/09/19/processing-100000-events-per-second-on-azure-functions/ • Azure Functions – Significant Improvements in HTTP Trigger Scaling • https://www.azurefromthetrenches.com/azure-functions-significant-improvements-in-http-trigger-scaling/ • Azure Function Apps: Performance Considerations • https://blogs.msdn.microsoft.com/amitagarwal/2018/04/03/azure-function-apps-performance-considerations/ • How we checked and fixed the 503 error and Performance issue in our Azure Function • https://blogs.msdn.microsoft.com/visualstudioalmrangers/2018/04/03/how-we-checked-and-fixed-the-503-error-and- performance-issue-in-our-azure-function/ • Host Health Monitor • https://github.com/Azure/azure-functions-host/wiki/Host-Health-Monitor • Functions pricing • https://azure.microsoft.com/en-us/pricing/details/functions/
  • 21. References • Azure Functions – Prepare for continuous delivery • https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/09/06/azure-functions-prepare-for-continuous-delivery/ • Azure Function – Integration tests automation • https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/09/24/azure-function-integration-tests-automation/ • Azure Web App sandbox • https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox • High throughput Azure Functions on HTTP • https://codez.deedx.cz/projects/high-throughput-azure-functions-on-http/

Editor's Notes

  • #8: https://docs.microsoft.com/en-us/azure/azure-functions/functions-best-practices#scalability-best-practices DEMOS: 1. Talk with me V2
  • #10: Demos Source Control and C https://github.com/liarjo/AzureFunctionCICDSample 2. https://jpgarciams.visualstudio.com/MyFirstProject
  • #11: Azure Functions has two built in monitoring solutions – the WebJobs dashboard and Application Insights (integration between Azure Functions and App Insights is currently in preview). The dashboard was designed with longer running jobs in mind and isn’t optimized for scenarios where there are 10,000+ function executions happening per second. Fortunately, App Insights is Turning on App insights is really easy – just add your instrumentation key to your function app and Azure Functions will start sending data to App Insights automatically. For more info see here. The Azure dashboard is highly customizable and App Insights has great support for pinning its visual components. It only took an hour or two to put together a pretty useful monitoring dashboard for this scenario demos LOG Stream using BackendAPI
  • #12: Demos Product Evaluation with APP Insight Live Stream Single and loadtest https://jpgarciams.visualstudio.com/MyFirstProject/_apps/hub/ms.vss-cloudloadtest-web.hub-loadtest-test?_a=summary&name=ProductEvaluation&definitionId=2d352142-0ff0-4a3b-90a2-c77029371b3d&runId=da58b32c-9726-4529-9f75-8c7a7f739406&definitionType=visualStudioLoadTest Analytics traces | where message has "New Evaluation product {\"Id\":\"123\",\"Evaluation\":29}" Metrics Preview Alerts
  • #14: 1. BackedApi: GetProduct v/s GetProducResutl
  • #15: https://github.com/Azure/azure-functions-host/wiki/Host-Health-Monitor Description of settings: enabled: Whether the feature is enabled. Default is true. healthCheckInterval: The time interval between the periodic background health checks. Default is 10 seconds. healthCheckWindow: A sliding time window used in conjunction with the healthCheckThreshold setting (see below). healthCheckThreshold: Maximum number of times the health check can fail before a host recycle is initiated. counterThreshold: The threshold at which a performance counter will be considered unhealthy. Default is 0.80. HttpClientInstanceSamplesController Show run test to show error detials
  • #16: PropertyDefaultDescription routePrefixapi The route prefix that applies to all routes. Use an empty string to remove the default prefix. maxOutstandingRequests The maximum number of outstanding requests that are held at any given time. This limit includes requests that are queued but have not started executing, as well as any in progress executions. Any incoming requests over this limit are rejected with a 429 "Too Busy" response. That allows callers to employ time-based retry strategies, and also helps you to control maximum request latencies. This only controls queuing that occurs within the script host execution path. Other queues such as the ASP.NET request queue will still be in effect and unaffected by this setting. The default is unbounded. maxConcurrentRequests The maximum number of http functions that will be executed in parallel. This allows you to control concurrency, which can help manage resource utilization. For example, you might have an http function that uses a lot of system resources (memory/cpu/sockets) such that it causes issues when concurrency is too high. Or you might have a function that makes outbound requests to a third party service, and those calls need to be rate limited. In these cases, applying a throttle here can help. The default is unbounded. dynamicThrottlesEnabledfalse When enabled, this setting causes the request processing pipeline to periodically check system performance counters like connections/threads/processes/memory/cpu/etc. and if any of those counters are over a built-in high threshold (80%), requests will be rejected with a 429 "Too Busy" response until the counter(s) return to normal levels.
  • #17: 1. Batch Sample
  • #19: https://azure.microsoft.com/en-us/pricing/calculator/?service=functions