SlideShare a Scribd company logo
Advanced Serverless
Computing in Azure:
not another
"Hello serverless World"!
Lorenzo Barbieri
Cloud Solutions Architect
lorenzo.barbieri@microsoft.com
Our sponsors and friends
Advanced Serverless Computing in Azure: not another "Hello serverless World"!
$
What is Serverless?
Serverless application platform components
Azure Functions
Azure Functions
Scaling happens at the Function App level
Language options
Functions runtime 1.0 and 2.0 key differences
Functions 1.0 Functions 2.0
.NET Support .NET Framework 4.7.1 .NET Core 2.2
Assembly isolation No Yes
Bindings versions Runtime versions User controlled
Language options Limitations in languages and
versions
Languages are external to the host
Node.js version Node.js 6 only Node.js 8 & 10 + future versions
Node.js native modules Not supported Supported
HTTP triggers HTTP and specialized Webhooks HTTP (supports Webhooks)
Language Runtime Multiple languages per function app Single language per function app
Functions Proxies GA GA
OpenAPI definition Preview 3rd party or through API Management
Observability Application Insights/WebJobs
dashboard
App Insights
Bindings and integrations
•
•
•
•
•
•
•
•
Visual Studio 2017/2019 Tooling
[FunctionName("CreateMosaic")]
public static async Task CreateMosaicAsync(
[QueueTrigger("generate-mosaic")] MosaicRequest mosaicRequest,
[Blob("%input-container%/{InputImage}", FileAccess.Read)] Stream sourceImage,
[Blob("%tile-image-container%")] CloudBlobContainer tileContainer,
[Blob("%output-container%/{InputImage}", FileAccess.Write)] Stream outputStream)
Functions everywhere
●●●
+
Do you remember «Micro-billing»?
Consumption Plan
Pay as you go
Execution time: €0,000014/GB-s
Total Executions: €0.169 x 1M execution
Free grant (per month)
400,000 GB-s
1M executions
Unlimited scalability!
*Network and storage account charged separately as
applicable, prices can change over time
App Service Plan
Calls are «capped» by the App Service Plan
VNET, unlimited duration, VS live debug
$
Durable Functions
Stateful Services and Workflows (code)
Advanced Serverless Computing in Azure: not another "Hello serverless World"!
long-running orchestrations single function
maintaining local state
// calls functions in sequence
public static async Task<object> Run(DurableOrchestrationContext ctx)
{
try
{
var x = await ctx.CallActivityAsync("F1");
var y = await ctx.CallActivityAsync("F2", x);
return await ctx.CallActivityAsync("F3", y);
}
catch (Exception)
{
// global error handling/compensation goes here
}
}
Orchestrator Function
Activity Functions
What It Looks Like
Orchestrator
Function
Activity
Function
var outputs = new List<string>();
outputs.Add(await context.CallActivityAsync<string>("SayHello", "Durable!"));
return outputs;
?
Orchestration with durable functions
PG-NR FOR EDUCATION PURPOSES ONLY, NEVER DO A
“HELLO WORLD” WITH DURABLE FUNCTIONS
Azure Logic Apps
Enterprise Integration and Workflows
(designer)
LogicApps
Automate business
processes in the cloud
Out-of-the-box connectors
Both allow implementing advanced workflow patterns.
C# and JavaScript Visual Designer
~20 Bindings 200+ Connectors
Portable runtime Runs only on Azure
Monitoring based on App Insights and APIs Rich monitoring and management tools
Consumption with Free Tier, App Service
Plan
Consumption (you pay every task)
Stateful Replays Queued Dependency Graph
Durable Functions vs Logic Apps
Azure Event Grid
Eventing in the cloud
Event grid
Event Grid
guiding
principles
Always available
Near real-time event
delivery
At least once delivery
Dynamic scale
Platform agnostic
(WebHook)
Language agnostic (HTTP
protocol)
Fan-out (multiple
subscribers)
Event driven communication = decoupled services
Azure
Serverless
Cookbook
https://azure.microsoft.com/en-us/resources/azure-
serverless-computing-cookbook/
Please tweet your comments with these #:
#serverless #mctsummit #vilnius
or just send me an email!
@_geniodelmale [IT & EN]
/in/geniodelmale [EN]
lorenzo.barbieri@microsoft.com
Thank
you!!!

More Related Content

PDF
Scale your PHP application with Elastic Beanstalk - CloudParty Genova
PPTX
Blazor and Azure Functions - a serverless approach
PDF
Introduction to React Native
PDF
Serverless Containers
PPTX
“ASP.NET Core. Features and architecture”
PPTX
State in stateless serverless functions
PDF
Some experiences building an Android app with React Native & Redux
PPTX
Timings API: Performance Assertion during the functional testing
Scale your PHP application with Elastic Beanstalk - CloudParty Genova
Blazor and Azure Functions - a serverless approach
Introduction to React Native
Serverless Containers
“ASP.NET Core. Features and architecture”
State in stateless serverless functions
Some experiences building an Android app with React Native & Redux
Timings API: Performance Assertion during the functional testing

What's hot (20)

PPTX
Roman Iovlev. Comaqa Spring 2018. Архитектура Open Source решений для автомат...
PDF
Introduction to azure web applications for office and share point developers
PDF
Build pipelines with TeamCity and Kotlin DSL
PPTX
SharePoint Development with the SharePoint Framework
PDF
Look Towards 2.0 and Beyond - eZ Conference 2016
PPTX
Why I am hooked on the future of React
PDF
[제3회 스포카콘] [안드로이드] 클린 아키텍처 적용하기
PPT
Servicehost Customization
PDF
[제3회 스포카콘] Elasticsearch 동기화 개선을 위한 고군분투기
PDF
API Design in the Modern Era - Architecture Next 2020
PPTX
Дмитрий Лемешко. Comaqa Spring 2018. Continuous mobile automation in build pi...
PDF
Introduction to React Native & Rendering Charts / Graphs
PPTX
Nativescript with angular 2
PDF
ECS19 - Daniel Neumann - AZURE FUNCTIONS 2.0 - RUNNING SERVERLESS EVERYWHERE
PDF
CBDW2014 - ColdBox RESTFul Services
PPTX
Extend sdk
PDF
Go.cd - the tool that Jenkins ain't
PDF
Alon Fliess: APM – What Is It, and Why Do I Need It? - Architecture Next 20
PDF
Turbocharge your API strategy with SDK
PDF
CSV and JSON Transformation in WSO2 Micro Integrator 4.0 - WSO2 APIM Communit...
Roman Iovlev. Comaqa Spring 2018. Архитектура Open Source решений для автомат...
Introduction to azure web applications for office and share point developers
Build pipelines with TeamCity and Kotlin DSL
SharePoint Development with the SharePoint Framework
Look Towards 2.0 and Beyond - eZ Conference 2016
Why I am hooked on the future of React
[제3회 스포카콘] [안드로이드] 클린 아키텍처 적용하기
Servicehost Customization
[제3회 스포카콘] Elasticsearch 동기화 개선을 위한 고군분투기
API Design in the Modern Era - Architecture Next 2020
Дмитрий Лемешко. Comaqa Spring 2018. Continuous mobile automation in build pi...
Introduction to React Native & Rendering Charts / Graphs
Nativescript with angular 2
ECS19 - Daniel Neumann - AZURE FUNCTIONS 2.0 - RUNNING SERVERLESS EVERYWHERE
CBDW2014 - ColdBox RESTFul Services
Extend sdk
Go.cd - the tool that Jenkins ain't
Alon Fliess: APM – What Is It, and Why Do I Need It? - Architecture Next 20
Turbocharge your API strategy with SDK
CSV and JSON Transformation in WSO2 Micro Integrator 4.0 - WSO2 APIM Communit...
Ad

Similar to Advanced Serverless Computing in Azure: not another "Hello serverless World"! (20)

PDF
Azure Durable Functions (2019-04-27)
PDF
Azure Durable Functions (2019-03-30)
PDF
Azure Functions 2.0 Deep Dive - デベロッパーのための最新開発ガイド
PPTX
Building stateful serverless orchestrations with Azure Durable Azure Function...
PPTX
#SpFestSea azr203 Azure functions lessons learned
PDF
Massimo Bonanni - Workflow as code with Azure Durable Functions - Codemotion ...
PPTX
Serverless Orchestration with Azure Durable Functions
PPTX
Durable Azure Functions
PPTX
Azure functions: from a function to a whole application in 60 minutes
PPTX
ServerLess by usama Azure fuctions.pptx
PDF
Azure functions
PPTX
Azure Functions in Action #CodePaLOUsa
PDF
Getting Started with Serverless Architectures using Azure Functions
PDF
FaaS by Microsoft: Azure Functions and Azure Durable Functions
PPTX
Mastering Azure Durable Functions - Building Resilient and Scalable Workflows
PDF
Going serverless with azure functions
PDF
Workflow as code with Azure Durable Functions
PPTX
Azure serverless computing
PPTX
Azure Function Workflow
PPTX
Azure functions
Azure Durable Functions (2019-04-27)
Azure Durable Functions (2019-03-30)
Azure Functions 2.0 Deep Dive - デベロッパーのための最新開発ガイド
Building stateful serverless orchestrations with Azure Durable Azure Function...
#SpFestSea azr203 Azure functions lessons learned
Massimo Bonanni - Workflow as code with Azure Durable Functions - Codemotion ...
Serverless Orchestration with Azure Durable Functions
Durable Azure Functions
Azure functions: from a function to a whole application in 60 minutes
ServerLess by usama Azure fuctions.pptx
Azure functions
Azure Functions in Action #CodePaLOUsa
Getting Started with Serverless Architectures using Azure Functions
FaaS by Microsoft: Azure Functions and Azure Durable Functions
Mastering Azure Durable Functions - Building Resilient and Scalable Workflows
Going serverless with azure functions
Workflow as code with Azure Durable Functions
Azure serverless computing
Azure Function Workflow
Azure functions
Ad

More from Lorenzo Barbieri (20)

PPTX
Microsoft Ignite Milan: Copilot Adoption In Italy
PDF
Can Santa Cloud survive the Generative AI revolution?
PDF
Build and Modernize Intelligent Apps​
PPTX
Develop any software from anywhere!
PDF
Personal Branding for Developers @ PyCon Italy 2023
PDF
Storytelling inclusivo
PDF
Effective Public Speaking
PDF
GitHub for partners
PPTX
Codemotion DevCast: App Modernization in the Cloud
PDF
How do you protect a hybrid PaaS-IaaS solution, built entirely in the cloud
PDF
Azure DevOps & GitHub... Better Together!
PDF
Azure Academyadi: Introduction to GitHub and AzureDevOps
PDF
Kubernetes vs App Service
PPTX
Practical Personal Branding for Developers
PPTX
Prepare a Short Pitch
PPTX
Kubernetes for .NET Developers
PDF
Accessible Public Speaking
PPTX
Kubernetes VS. App Service: When the orchestrator challenges the platform
PPTX
Public Speaking For Geeks: Work from Home Edition!
PPTX
Public Speaking for Geeks @ MS Ignite The Tour Milan
Microsoft Ignite Milan: Copilot Adoption In Italy
Can Santa Cloud survive the Generative AI revolution?
Build and Modernize Intelligent Apps​
Develop any software from anywhere!
Personal Branding for Developers @ PyCon Italy 2023
Storytelling inclusivo
Effective Public Speaking
GitHub for partners
Codemotion DevCast: App Modernization in the Cloud
How do you protect a hybrid PaaS-IaaS solution, built entirely in the cloud
Azure DevOps & GitHub... Better Together!
Azure Academyadi: Introduction to GitHub and AzureDevOps
Kubernetes vs App Service
Practical Personal Branding for Developers
Prepare a Short Pitch
Kubernetes for .NET Developers
Accessible Public Speaking
Kubernetes VS. App Service: When the orchestrator challenges the platform
Public Speaking For Geeks: Work from Home Edition!
Public Speaking for Geeks @ MS Ignite The Tour Milan

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Cloud computing and distributed systems.
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Machine learning based COVID-19 study performance prediction
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Cloud computing and distributed systems.
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Unlocking AI with Model Context Protocol (MCP)
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
“AI and Expert System Decision Support & Business Intelligence Systems”
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Per capita expenditure prediction using model stacking based on satellite ima...
Advanced methodologies resolving dimensionality complications for autism neur...
20250228 LYD VKU AI Blended-Learning.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Spectroscopy.pptx food analysis technology
Programs and apps: productivity, graphics, security and other tools
Spectral efficient network and resource selection model in 5G networks
Machine learning based COVID-19 study performance prediction
Mobile App Security Testing_ A Comprehensive Guide.pdf
The AUB Centre for AI in Media Proposal.docx

Advanced Serverless Computing in Azure: not another "Hello serverless World"!

Editor's Notes

  • #4: 3
  • #5: 4
  • #7: Microsoft Tech Summit FY17
  • #17: 16
  • #18: 17
  • #19: 18
  • #24: At the end of the day, both durable functions and logic apps have their benefits. From speaking with several customers, we’ve realized that which one you choose is simply a matter of individual preference. Logic Apps is a big product itself with several features of its own so I wont dive into too much detail about that here but feel free to stop by our booth to see some demoes and get more information. Logic Apps can run Durable Functions! You can hook them into your Logic Apps workflows.
  • #27: Build 2015