SlideShare a Scribd company logo
Azure Functions Real World Examples
Yochay Kiriaty
Principal Program Manager @ Microsoft
Azure / App Service
Tech Evangelist
Various Start Ups
https://blogs.msdn.microsoft.com/appserviceteam
@yochayk
yochay@microsoft.com
Agenda
• Why Serverless?
• What is serverless?
• Intro Azure Functions
• Serverless patterns / Real-world examples
Before cloud
On-Premise
Co-Lo
Before cloud
How often should
I patch my servers?
How can I increase server utilization?
How I deploy new code to my server?
Which packages should
be on my server?
It takes how long to provision a new server?
Then came IaaS …
How often should
I patch my servers?
How can I increase server utilization?
How I deploy new code to my server?
Which packages should
be on my server?
It takes how long to provision a new server?
Is it PaaS time?
How often should
I patch my servers?
How can I increase server utilization?
How I deploy new code to my server?
Which packages should
be on my server?
Is it PaaS time?
How often should
I patch my servers?
How can I increase server utilization?
How I deploy new code to my server?
Which packages should
be on my server?
Serverless . . .
How can I increase server utilization?
Event-driven/
instant scale
Sub-second
billing
Abstraction
of servers
What is Serverless?
Focus on
Business
Logic
Reduced Time
To Market
Reduced
DevOps
Benefits of Serverless?
Application’s evolution
Ship.
Acct. Mang.
Hist.
Database
Client
Ship.
DB
Client
Hist.
DB
Mang.
DB
Acct.
DB
POST
GET
UPDATE
Monolithic Microservices
Application’s evolution
Ship.
Acct. Mang.
Hist.
Database
Client
Monolithic
Ship.
DB
Client
Hist.
DB
Mang.
DB
Acct.
DB
POST
GET
UPDATE
Microservices
Application’s evolution
Ship.
DB
Client
Hist.
DB
Mang.
DB
Acct.
DB
POST
GET
UPDATE
Microservices
Application’s evolution
Client
Mang.
DB
Microservices
POST
Users
Users/Id
Users/Id
Users/Id
CreatUser
GetUser
UpdateUser
DeleteUser
GET
UPDATE
DELETE
Serverless
Microsoft Serverless
App ServiceCortana
Management Suite
Media ServicesLogic AppFunctionsStorage
Traffic
Manager
Visual Studio
Services
OMS
Management SuitMachine LearningCDNDocument DB
Search
Scheduler
Active Directory Key Vault App Insights Cognitive Services Embedded Power BI
Hockey AppStream AnalyticsNotification HubIoT Hub Service Bus
Azure Functions
Process events with Serverless code.
Make composing Cloud Apps insanely easy
Develop Functions in C#, Node.js, F#, Python, PHP, Batch and more
Easily schedule event-driven tasks across services
Expose Functions as HTTP API endpoints
Scale Functions based on customer demand
Easily integrate with Logic Apps
Azure Functions Real World Examples
Functions Programming Model
Trigger
(data)
Input Input
code
Output
Output
• Function as a single unit of work
• Functions are executed per trigger
• Functions have inputs and outputs
Input
Triggers
and
bindings
Azure Functions Real World Examples
Dual abstraction
• Serverless compute abstracts away the compute
• Azure Functions Bindings abstract away the
services you interact with
Building Applications With Functions
Instead of …
• implementing a route inside of a Web Application server, I write a
function.
• pulling – triggers
• ‘SDK’ – bindings
• writing large functional tests against a server, your functional tests
look more like unit tests per function.
• building and deploying servers, deploy collections of Functions
Functions Programming Model - Best Practices
• Functions should “do one thing”
• Functions should be stateless
• Functions should be idempotent
• Functions should finish as quickly as possible
1
Serverless
Patterns
Every 15 minutes Clean tableFind and clean invalid data
Azure Functions Real World Examples
Problem
• Replicate logs from
one data center to
another
• Analyze the logs
• Take action
Using Functions
• Setup a VM/
Container/ WebJobs
• Build/ patch/ deploy
• Monitor
• Manage FTP cred
• Use FTP library
• Use Azure SDK
Before Functions
• Setup a VM/
Container/ WebJobs
• Build/ patch/ deploy
• Monitor
• Manage FTP cred
• Use FTP library
• Use Azure SDK
Azure Functions Real World Examples
Blob Replication
Abnormal
behavior
FTP Download
Manager Function
Single Folder Single Folder Single Folder
File added to
Blob Storage
Transform CSV to data rows Power BI
Chart graphic
Photo taken and
WebHook called Stores in blob storage Produces scaled images
API
Photo taken and
WebHook called
Problem
• Expose REST API
• Upload data to
storage
• Process data
Using Functions
• Setup a VM/
Container/ WebJobs
• Build/ patch/ deploy
• Monitor
• Use Azure SDK
• Async data
processing (scale)
Before Functions
• Setup a VM/
Container/ WebJobs
• Build/ patch/ deploy
• Monitor
• Use Azure SDK
• Async data
processing (scale)
Photo taken and
WebHook called
Loaded web page
calls WebHook
Completed pageCreate ad based on user profile
Millions of devices feed
into Stream Analytics
Store data in
SQL Online
Transform to structured data
Azure Functions Real World Examples
Problem
• Collect tweets
• Analyze tweets
• Display rich analysis
Using Serverless
• Setup a VM/
Container/ WebJobs
• Build/ patch/ deploy
• Monitor
• Connect (auth)to
twitter
• Using Twitter API
(SDK)
• Analyze tweets
• Build rich client to
show results
Before Serverless
• Setup a VM/
Container/ WebJobs
• Build/ patch/ deploy
• Monitor
• Connect (auth)to
twitter
• Using Twitter API
(SDK)
• Analyze tweets
• Build rich client to
show results
• SPAs like Angular/React are your friend
• Be sure to enable CORS 
• Async, queue based systems are more resilient
• Read and internalize the reactive manifesto - http://www.reactivemanifesto.org/
• While synchronous work will happen, minimize the work done in a sync function and
kick off to a queue based async process (HTTP status code 202, not 201 )
• Like never before, develop on the cloud, test on the cloud, ship on the cloud
• Not just FaaS, but use other serverless tech that best solves the problem (like Logic
Apps)
General practices for serverless
Microsoft and Serverless
Try Functions – https://functions.azure.com
Try App Service – https://tryappservice.azure.com
Azure Functions Real World Examples

More Related Content

PDF
AWS 비용 최적화 기법 (윤석찬) - AWS 웨비나 시리즈 2015
PDF
あらためて Azure virtual network
PPTX
Azure Storage Services - Part 01
PDF
Azure Monitoring Overview
PPTX
AWS Simple Storage Service (s3)
PDF
AWS S3 Tutorial For Beginners | Edureka
PDF
Microsoft Azure Cloud Services
PDF
[OpenInfra Days Korea 2018] (Track 1) TACO (SKT All Container OpenStack): Clo...
AWS 비용 최적화 기법 (윤석찬) - AWS 웨비나 시리즈 2015
あらためて Azure virtual network
Azure Storage Services - Part 01
Azure Monitoring Overview
AWS Simple Storage Service (s3)
AWS S3 Tutorial For Beginners | Edureka
Microsoft Azure Cloud Services
[OpenInfra Days Korea 2018] (Track 1) TACO (SKT All Container OpenStack): Clo...

What's hot (20)

PDF
AWS ELB
PPTX
Introduction to Azure monitor
PPTX
Azure App Service
PDF
클라우드 네이티브 IT를 위한 4가지 요소와 상관관계 - DevOps, CI/CD, Container, 그리고 MSA
PPTX
Migrate a successful transactional database to azure
PPTX
Introduction to Azure Databricks
PDF
Azure Resource Manager (ARM) Templates
PDF
AZ-204: Monitor, Troubleshoot & Optimize Azure Solutions
PDF
Amazon OpenSearch Deep dive - 내부구조, 성능최적화 그리고 스케일링
PDF
AWS 클라우드 기반 게임 아키텍처 사례 - AWS Summit Seoul 2017
PPTX
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
PPTX
Azure Storage
PPTX
Azure storage
PPTX
Azure AD Presentation - @ BITPro - Ajay
PDF
Apache Kafka Architecture & Fundamentals Explained
PPTX
Azure fundamentals
PPTX
Introduction to Azure Functions
PDF
Azure 101
PPTX
Azure Web App services
PDF
대용량 데이터레이크 마이그레이션 사례 공유 [카카오게임즈 - 레벨 200] - 조은희, 팀장, 카카오게임즈 ::: Games on AWS ...
AWS ELB
Introduction to Azure monitor
Azure App Service
클라우드 네이티브 IT를 위한 4가지 요소와 상관관계 - DevOps, CI/CD, Container, 그리고 MSA
Migrate a successful transactional database to azure
Introduction to Azure Databricks
Azure Resource Manager (ARM) Templates
AZ-204: Monitor, Troubleshoot & Optimize Azure Solutions
Amazon OpenSearch Deep dive - 내부구조, 성능최적화 그리고 스케일링
AWS 클라우드 기반 게임 아키텍처 사례 - AWS Summit Seoul 2017
AWS S3 | Tutorial For Beginners | AWS S3 Bucket Tutorial | AWS Tutorial For B...
Azure Storage
Azure storage
Azure AD Presentation - @ BITPro - Ajay
Apache Kafka Architecture & Fundamentals Explained
Azure fundamentals
Introduction to Azure Functions
Azure 101
Azure Web App services
대용량 데이터레이크 마이그레이션 사례 공유 [카카오게임즈 - 레벨 200] - 조은희, 팀장, 카카오게임즈 ::: Games on AWS ...
Ad

Similar to Azure Functions Real World Examples (20)

PPTX
Azure functions
PDF
Tech Talk on Cloud Computing
PPTX
Vincent biret azure functions and flow (toronto)
PPTX
Vincent biret azure functions and flow (ottawa)
PPTX
SPS calgary 2017 introduction to azure functions microsoft flow
PDF
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
PPTX
Building API in the cloud using Azure Functions
PDF
Introduction to Microsoft Flow and Azure Functions
PPTX
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
PPTX
Azure Functions 101
PPTX
Azure full
PPTX
ASP.NET MVC - Latest & Greatest So Far
PDF
Serverless API with Azure Functions
PDF
Azure web functions little bites of services
PDF
Getting Started with AWS Lambda and Serverless Computing
PDF
The future of web development write once, run everywhere with angular js an...
PPTX
The future of web development write once, run everywhere with angular.js and ...
PPTX
Connector API Apps
PPTX
Getting started with development in azure
PPTX
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Azure functions
Tech Talk on Cloud Computing
Vincent biret azure functions and flow (toronto)
Vincent biret azure functions and flow (ottawa)
SPS calgary 2017 introduction to azure functions microsoft flow
Devops continuousintegration and deployment onaws puttingmoneybackintoyourmis...
Building API in the cloud using Azure Functions
Introduction to Microsoft Flow and Azure Functions
#SPSBrussels 2017 vincent biret #azure #functions microsoft #flow
Azure Functions 101
Azure full
ASP.NET MVC - Latest & Greatest So Far
Serverless API with Azure Functions
Azure web functions little bites of services
Getting Started with AWS Lambda and Serverless Computing
The future of web development write once, run everywhere with angular js an...
The future of web development write once, run everywhere with angular.js and ...
Connector API Apps
Getting started with development in azure
Tokyo Azure Meetup #7 - Introduction to Serverless Architectures with Azure F...
Ad

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Big Data Technologies - Introduction.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Machine learning based COVID-19 study performance prediction
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Advanced methodologies resolving dimensionality complications for autism neur...
Big Data Technologies - Introduction.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
20250228 LYD VKU AI Blended-Learning.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Empathic Computing: Creating Shared Understanding
NewMind AI Monthly Chronicles - July 2025
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
The AUB Centre for AI in Media Proposal.docx
Diabetes mellitus diagnosis method based random forest with bat algorithm
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
MYSQL Presentation for SQL database connectivity
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Network Security Unit 5.pdf for BCA BBA.
Machine learning based COVID-19 study performance prediction
Bridging biosciences and deep learning for revolutionary discoveries: a compr...

Azure Functions Real World Examples