Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Azure Functions

You're reading from  Learning Azure Functions

Product type Book
Published in Sep 2017
Publisher Packt
ISBN-13 9781787122932
Pages 240 pages
Edition 1st Edition
Languages
Concepts

Best practices


The following are recommended best practices for using Azure Functions:

  • It is desirable to have stateless code to effectively utilize the serverless concept.
  • Keep functions short and simple. Create many short and simple functions rather than one big function.
  • Import dependencies only if they are required. Consider module dependencies as well.
  • Use storage queues, service bus queues, service bus topics, and event hubs for cross-functional communication.
  • Delete functions that you are no longer using, especially if the function is hosted on the App Service plan in the basic, standard, or premium tier.
  • Use the built-in monitoring of Function Apps to view and optimize request latencies or utilize Application Insights.

 

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}