Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Serverless Computing With Azure Functions

514 views

Published on

Global Azure Bootcamp 2018 - Colombo, Sri Lanka

Published in: Software
  • Be the first to comment

  • Be the first to like this

Serverless Computing With Azure Functions

  1. 1. Serverless Computing with Azure Functions Jaliya Udagedara Microsoft MVP (Visual Studio & Development Technologies)
  2. 2. Line-up • Serverless Computing • Azure Functions • Triggers & Bindings • Authorization • Azure Functions Proxies • Demo • Performance Considerations
  3. 3. Serverless Computing • Requires Servers • Infrastructure details are abstracted • Cloud provider manages resources • Driven by events and triggers • Pay only for the time your code is running
  4. 4. Azure Functions BoxOneDrive Twilio Dropbox Sendgrid Azure Storage Develop your way Local development Event-driven scale Reduced Dev Ops
  5. 5. Programming Model
  6. 6. Triggers and Bindings • Triggers: Defines how a function is invoked • Bindings • Input • Output • return value • out parameter • collector object
  7. 7. Azure Functions Security • Applies to HTTP Triggers • Supports API Keys • Host Keys • Function Keys •Integrated security with popular OAuth providers
  8. 8. Azure Functions Proxies • Single API Surface • Request/Response Transformations • Mocking
  9. 9. Demo Function App using Portal Function App using Visual Studio Azure Function Proxies
  10. 10. Performance Considerations • Avoid long running functions • Cross function communication • Write functions to be stateless • Write defensive functions • Use async code but avoid blocking calls
  11. 11. References • Demo Code • Official Documentation • Samples and Content • Tools • Azure Storage Explorer • Azure Storage Emulator • Azure Cosmos DB Emulator
  12. 12. Q & A https://www.rateevent.com/rate/SCAAA347

×