Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Azure Functions

You're reading from   Learning Azure Functions Build scalable cloud systems with serverless architecture

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781787122932
Length 240 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Mitesh Soni Mitesh Soni
Author Profile Icon Mitesh Soni
Mitesh Soni
Manisha Yadav Manisha Yadav
Author Profile Icon Manisha Yadav
Manisha Yadav
Arrow right icon
View More author details
Toc

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 €18.99/month. Cancel anytime