Presentation is loading. Please wait.

Presentation is loading. Please wait.

Data-driven serverless apps with Azure functions

Similar presentations


Presentation on theme: "Data-driven serverless apps with Azure functions"— Presentation transcript:

1 Data-driven serverless apps with Azure functions
Anton Boyko Microsoft Azure MVP

2 Serverless?

3 Developer maturity level
Junior How can I do it? Middle How can I do it more elegantly? Senior How can I NOT do it?

4 Traditional server Fixed reserved CPU Fixed reserved RAM
Pay for reserved resourced

5 Serverless On-demand CPU (per second) On-demand RAM (per Mb)
Pay for number of executions and on- demand resources consumed

6 Abstraction of servers
Serverless Abstraction of servers Sub-second billing Event-driven scale Abstraction of servers, infrastructure and configuration of operating system Event-driven scale Sub-second billing Stateless

7 Azure functions?

8 I have a “code” I have an “event data”

9 I have a “code” I have an “event data” BOOM!

10 Stateless Small Single unit of work C# F# HTTP(S) Java Timer NodeJS
Python PowerShell HTTP(S) Timer Queue Storage Azure Functions Stateless Small Single unit of work

11 function.json

12 run.csx

13 Applications

14 Example: Timer based processing
Every 15 minutes Clean table Find and clean invalid data

15 Example: Azure service event processing
File added to Blob Storage Transform CSV to data rows CSV Power BI Chart

16 Example: SaaS event processing
Excel file saved to OneDrive Microsoft Graph API analyzes content Creates new sheet With Charts

17 Example: Serverless Web Applications architectures
Loaded web page calls WebHook Completed page Create ad based on user profile

18 Example: Serverless Mobile back ends
Photo taken and WebHook called Stores in blob storage Produces scaled images

19 Example: Real-time stream processing
Millions of devices feed into Stream Analytics Store data in SQL Database Transform to structured data

20 Example: Real-time bot messaging
? ... Cortana Analytics answers questions Message sent to Chatbot Chatbot sends response

21 Toolset

22 Azure Storage Emulator https://docs. microsoft
Azure Storage Emulator use-emulator Azure Storage Explorer Azure Functions CLI Azure Functions Tools for Visual Studio ual-studio-tools-for-azure-functions/ Azure Functions Tools for Visual Studio re-function-tools-for-visual-studio-2017/ Azure Functions Docs functions/functions-overview

23 Demo

24 Azure Functions Приступаем к работе с Azure Functions используя утилиты командной строки Разбор структуры проекта Azure Functions Queue Trigger Разбор структуры проекта Azure Functions Blob Trigger Запускаем Azure Functions локально используя эмулятор

25 Precompiled Azure Functions
Concept /16/publishing-a-net-class-library-as-a-function-app/ Demo


Download ppt "Data-driven serverless apps with Azure functions"

Similar presentations


Ads by Google