Skip to Content
Mastering Azure Serverless Computing
book

Mastering Azure Serverless Computing

by Lorenzo Barbieri, Massimo Bonanni
November 2019
Intermediate to advanced
362 pages
7h 52m
English
Packt Publishing
Content preview from Mastering Azure Serverless Computing

Azure Functions best practices for scalability and performance

Here are some best practices for better scalability and performance of Azure Functions:

  • Reuse connections to external resources—for example, by using a static HTTPClient instead of creating one for every request. Resources can be exhausted very quickly if they are not reused.
  • Don't deploy unused code in production: since Azure functions in the consumption plans are also billed based on memory usage, if you deploy code or assets that are not needed, you end up paying more money.
  • Use durable functions or logic apps to handle long-running operations and cross-function communication instead of traditional functions.
  • Functions should be stateless and idempotent because it's not guaranteed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced Serverless Architectures with Microsoft Azure

Advanced Serverless Architectures with Microsoft Azure

Daniel Bass
Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo

Publisher Resources

ISBN: 9781789951226Supplemental Content