SlideShare a Scribd company logo
Gold sponsor
Technical sponsor
Digital sponsor
Community
Xmas Serverless Transformation,
when the elf doesn’t scale!
Massimo Bonanni
Paranormal Developer, with the head in the Cloud and all the REST in microservices!
#xmasdev18
#xmasdev18
Santa Claus….we have a problem!
The number of children in the world who
believe in Santa Claus is increasing
With the approach of Christmas the letters
of the children increase dramatically
The letters are handled one by one by elves
who can not do everything
#xmasdev18
Does Santa Claus have any solutions?
He has already hired on all the elves of the world
He can not hire other elves…
The elven union is inflexible and doesn't allow it
He cannot expect the elves to work more
than they should…
Because the factory is already in a lost place ☺
He cannot relocate the business in a
remote place…
#xmasdev18
The solution is…… Santa Claud Platform!!!
#xmasdev18
Requirements
The Santa Claus company is a no-profit and cannot waste
money by spending it on services that it doesn’tuse
The number of letters received increases only in certain
periods of the year (October, November and December)
while in the rest of the year the number is less
The amount of incoming letters is not predictable and can
vary rapidly.
Santa Claus cannot lose even a letter .... the children
would not forgive him
Unfortunately....the platform must work!!
#xmasdev18
#xmasdev18
Pay-per-use
Instant, event-driven scalability
Full abstraction of servers
What is serverless?
#xmasdev18
Full integrationwith Azure ecosystem
Functions is the center piece of the Serverless platform
#xmasdev18
What are Azure Functions?
Author functions in C#,
F#, Node.JS, Java, and
more
React to timers, HTTP,
or events from your
favorite Azure services,
with more on the way
Send results to an
ever-growing
collection of services
#xmasdev18
Updated runtime built on .NET Core 2.1
.NET Functions loading changes
New extensibility model.
•Decoupled from language providers and bindings
Run code from a package
Tooling updates: CLI, Visual Studio & VS Code
Durable Functions (GA)
Improvements to DevOps integration
What’s new in 2.0?
#xmasdev18
How much do they cost?
Consumption Plan
• Pay only when your
functions are running.
• Scale out automatically,
even during periods of
high load.
• Function execution times
out after a configurable
period of time
App Sevice Plan
• You won't pay more than
the cost of the VM
instance that you
allocate.
• You can manually scale
out by adding more VM
instances, or you can
enable autoscale.
• Supports Linux hosting.
• You must enable
AlwaysOn.
#xmasdev18
What are Durable Functions?
Durable Functions is an advanced feature of Azure Functions.
They provide the ability to write long running orchestrations using a single
function while still being able to maintain a global state.
#xmasdev18
What are Durable Functions?
Run inside the Azure Function Runtime
Are built on top of the Durable Task Framework
Maintain their execution state using a design pattern
known as Event Sourcing
Written in C# (Functions v1 and v2), F# and JavaScript
(Functions v2 only) – No JSON, No Designer!!!
Use Azure Storage queues, tables, and blobs to persist
execution history state and trigger function execution
#xmasdev18
Is the triggered
functions that will
create new
instances of an
orchestration.
It is the entry point
for creating an
instance of a
durable
orchestration
Is the heart of a
durable function.
Orchestrator
functions describe
the way and order
actions are
executed
Is the basic unit of
work in a durable
orchestration.
An activity
function must be
triggered by
an activity trigger
Types of functions
Client Orchestrator Activity
#xmasdev18
#xmasdev18
The solution
#xmasdev18
Santa Claud Platform
The letter is
scanned and sent
to a Durable
Function
The function
"interprets" the letter
using cognitive
algorithms
#xmasdev18
Santa Claud Platform
The letters can be
entered by the data
entry elves through
a POST call
Recovers the behavior
of the child during the
year
If the child was bad,
an email is sent to the
support elves
The support elf
decides whether the
child deserves the gift
or not
If the child still deserves the
gift, a record is added to
the table of the gifts to
order
If the child does not
deserve the gift, a record is
added to the table of
rejected gifts
#xmasdev18
Santa Claud Platform The "spy" elf reports
good and bad
children with an app
and a REST API
Every night a report is
created with the gifts to
be ordered the next day
Santa Claud Platform
#xmasdev18
DOMANDE E RISPOSTE
Massimo Bonanni
massimo.bonanni@microsoft.com
@massimobonanni
github.com/massimobonanni/XmasServerlessTrasformation
#xmasdev18
Gold sponsor Technical sponsor
Digital sponsor
Community
Design by Carmine Alfano
www.carminealfano.it

More Related Content

PDF
The art of Azure Functions (unit) testing and monitoring
PDF
Durable Functions vs Logic App : la guerra dei workflow!!
PDF
The art of Azure Functions (unit) testing and monitoring
PDF
Stateful pattern con Azure Functions
PDF
IoT in salsa Serverless
PDF
Empower every Azure Function to achieve more!!
PDF
Stateful patterns in Azure Functions
PDF
Creating Event Driven Serverless Applications - Sandeep - Adobe - Serverless ...
The art of Azure Functions (unit) testing and monitoring
Durable Functions vs Logic App : la guerra dei workflow!!
The art of Azure Functions (unit) testing and monitoring
Stateful pattern con Azure Functions
IoT in salsa Serverless
Empower every Azure Function to achieve more!!
Stateful patterns in Azure Functions
Creating Event Driven Serverless Applications - Sandeep - Adobe - Serverless ...

What's hot (20)

PDF
Democratizing Serverless—The Open Source Fn Project - Serverless Summit
PDF
Empower every Azure Function to achieve more!!
PDF
Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit
PDF
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
PPTX
Azure Functions
PDF
Build a Chatbot in Ten Minutes - Dave Kerr - Serverless Summit
PDF
Serverless Meetup - Event Sourcing
PPTX
Deep dive into Conversational Ai development
PPTX
Azure Functions - Introduction
PDF
70-534: ARCHITECTING MICROSOFT AZURE SOLUTIONS
PPTX
Azure Functions e Azure Logics Apps: i tuoi coltellini svizzeri per gestire i...
PPTX
Serverless Application Development with Azure
PPTX
Azure serverless architectures
PPTX
Usage of Reliable Actors in Azure Service Fabric
PPTX
Angular js firebase-preso
PDF
Azure functions
PPTX
Discovering the Service Fabric's actor model
PDF
AngularJSTO presentation
PPTX
Inside Logic Apps
PPTX
Introducing to Azure Functions
Democratizing Serverless—The Open Source Fn Project - Serverless Summit
Empower every Azure Function to achieve more!!
Serverless Architecture Patterns - Manoj Ganapathi - Serverless Summit
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
Azure Functions
Build a Chatbot in Ten Minutes - Dave Kerr - Serverless Summit
Serverless Meetup - Event Sourcing
Deep dive into Conversational Ai development
Azure Functions - Introduction
70-534: ARCHITECTING MICROSOFT AZURE SOLUTIONS
Azure Functions e Azure Logics Apps: i tuoi coltellini svizzeri per gestire i...
Serverless Application Development with Azure
Azure serverless architectures
Usage of Reliable Actors in Azure Service Fabric
Angular js firebase-preso
Azure functions
Discovering the Service Fabric's actor model
AngularJSTO presentation
Inside Logic Apps
Introducing to Azure Functions
Ad

Similar to Xmas Serverless Transformation: when the elf doesn’t scale! (20)

PPTX
Breaking the oracle tie
PDF
DevOps: Building by feature with immutable infrastructure at Serv.sg
PDF
JUST EAT: Tools we use to enable our culture
PDF
Erlang as a Cloud Citizen
PDF
Erlang and the Cloud: A Fractal Approach to Throughput
PDF
Erlang as a cloud citizen, a fractal approach to throughput
PPTX
Java 8 - Gateway Drug or End of Line?
PDF
No estimates
KEY
Ruby For Startups
PDF
Serverless in production, an experience report (IWOMM)
PDF
Ride The Bus!
PPT
Our long road to….continuous improvement (DevOps Days Boston 2014)
PPTX
DevOps make teamwork great.
PDF
Extracting organizational value from AWS Step Functions.pdf
PDF
Serhat Can- 4 keytakeaways from running serverless on production for 4 years
PDF
Speak To The Business! Agile Metrics That Inform Rather Confuse the Business
PPTX
Dapper: the microORM that will change your life
PPTX
SiestaTime - Defcon27 Red Team Village
PPTX
Investing in a good software factory and automating the build process
PPTX
Bring your calculations to Scala!
Breaking the oracle tie
DevOps: Building by feature with immutable infrastructure at Serv.sg
JUST EAT: Tools we use to enable our culture
Erlang as a Cloud Citizen
Erlang and the Cloud: A Fractal Approach to Throughput
Erlang as a cloud citizen, a fractal approach to throughput
Java 8 - Gateway Drug or End of Line?
No estimates
Ruby For Startups
Serverless in production, an experience report (IWOMM)
Ride The Bus!
Our long road to….continuous improvement (DevOps Days Boston 2014)
DevOps make teamwork great.
Extracting organizational value from AWS Step Functions.pdf
Serhat Can- 4 keytakeaways from running serverless on production for 4 years
Speak To The Business! Agile Metrics That Inform Rather Confuse the Business
Dapper: the microORM that will change your life
SiestaTime - Defcon27 Red Team Village
Investing in a good software factory and automating the build process
Bring your calculations to Scala!
Ad

More from Massimo Bonanni (20)

PDF
Architetture Serverless con SQL Server e Azure Functions
PDF
IoT in salsa serverless
PDF
Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...
PDF
Everything you always wanted to know about API Management (but were afraid to...
PDF
Workflow as code with Azure Durable Functions
PPTX
Welcome Azure Functions 2. 0
PPTX
Testing a Service Fabric solution and live happy!!
PPTX
Discovering the Service Fabric's actor model
PPTX
Soluzioni IoT con le tecnologie Microsoft
PPTX
Project Gesture & Real Sense: il potere nelle mani!!
PPTX
Project Gesture & RealSense: gestures in a simple way!!
PPTX
Project Prague & RealSense: il potere nelle mani!!
PPTX
L'approccio ai microservizi secondo Service Fabric
PPTX
The Microservices world in. NET Core and. NET framework
PPTX
Microservices architecture & Service Fabric
PPTX
Introduzione allo sviluppo UWP per xBox
PPTX
Cognitive Services & LUIS
PPTX
Service Fabric: la potenza dei micro servizi
PPTX
Automated UI testing for iOs and Android mobile apps
PPTX
Soluzioni IoT con le tecnologie Microsoft
Architetture Serverless con SQL Server e Azure Functions
IoT in salsa serverless
Tutto quello che avreste voluto sapere sull'API Management (e non avete mai o...
Everything you always wanted to know about API Management (but were afraid to...
Workflow as code with Azure Durable Functions
Welcome Azure Functions 2. 0
Testing a Service Fabric solution and live happy!!
Discovering the Service Fabric's actor model
Soluzioni IoT con le tecnologie Microsoft
Project Gesture & Real Sense: il potere nelle mani!!
Project Gesture & RealSense: gestures in a simple way!!
Project Prague & RealSense: il potere nelle mani!!
L'approccio ai microservizi secondo Service Fabric
The Microservices world in. NET Core and. NET framework
Microservices architecture & Service Fabric
Introduzione allo sviluppo UWP per xBox
Cognitive Services & LUIS
Service Fabric: la potenza dei micro servizi
Automated UI testing for iOs and Android mobile apps
Soluzioni IoT con le tecnologie Microsoft

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Machine learning based COVID-19 study performance prediction
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Getting Started with Data Integration: FME Form 101
PDF
Approach and Philosophy of On baking technology
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
1. Introduction to Computer Programming.pptx
PPTX
Tartificialntelligence_presentation.pptx
PPTX
TLE Review Electricity (Electricity).pptx
Spectral efficient network and resource selection model in 5G networks
Machine learning based COVID-19 study performance prediction
cloud_computing_Infrastucture_as_cloud_p
Assigned Numbers - 2025 - Bluetooth® Document
SOPHOS-XG Firewall Administrator PPT.pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Getting Started with Data Integration: FME Form 101
Approach and Philosophy of On baking technology
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Encapsulation_ Review paper, used for researhc scholars
NewMind AI Weekly Chronicles - August'25-Week II
MIND Revenue Release Quarter 2 2025 Press Release
Building Integrated photovoltaic BIPV_UPV.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Empathic Computing: Creating Shared Understanding
Programs and apps: productivity, graphics, security and other tools
1. Introduction to Computer Programming.pptx
Tartificialntelligence_presentation.pptx
TLE Review Electricity (Electricity).pptx

Xmas Serverless Transformation: when the elf doesn’t scale!

  • 1. Gold sponsor Technical sponsor Digital sponsor Community Xmas Serverless Transformation, when the elf doesn’t scale! Massimo Bonanni Paranormal Developer, with the head in the Cloud and all the REST in microservices!
  • 3. #xmasdev18 Santa Claus….we have a problem! The number of children in the world who believe in Santa Claus is increasing With the approach of Christmas the letters of the children increase dramatically The letters are handled one by one by elves who can not do everything
  • 4. #xmasdev18 Does Santa Claus have any solutions? He has already hired on all the elves of the world He can not hire other elves… The elven union is inflexible and doesn't allow it He cannot expect the elves to work more than they should… Because the factory is already in a lost place ☺ He cannot relocate the business in a remote place…
  • 5. #xmasdev18 The solution is…… Santa Claud Platform!!!
  • 6. #xmasdev18 Requirements The Santa Claus company is a no-profit and cannot waste money by spending it on services that it doesn’tuse The number of letters received increases only in certain periods of the year (October, November and December) while in the rest of the year the number is less The amount of incoming letters is not predictable and can vary rapidly. Santa Claus cannot lose even a letter .... the children would not forgive him Unfortunately....the platform must work!!
  • 8. #xmasdev18 Pay-per-use Instant, event-driven scalability Full abstraction of servers What is serverless?
  • 9. #xmasdev18 Full integrationwith Azure ecosystem Functions is the center piece of the Serverless platform
  • 10. #xmasdev18 What are Azure Functions? Author functions in C#, F#, Node.JS, Java, and more React to timers, HTTP, or events from your favorite Azure services, with more on the way Send results to an ever-growing collection of services
  • 11. #xmasdev18 Updated runtime built on .NET Core 2.1 .NET Functions loading changes New extensibility model. •Decoupled from language providers and bindings Run code from a package Tooling updates: CLI, Visual Studio & VS Code Durable Functions (GA) Improvements to DevOps integration What’s new in 2.0?
  • 12. #xmasdev18 How much do they cost? Consumption Plan • Pay only when your functions are running. • Scale out automatically, even during periods of high load. • Function execution times out after a configurable period of time App Sevice Plan • You won't pay more than the cost of the VM instance that you allocate. • You can manually scale out by adding more VM instances, or you can enable autoscale. • Supports Linux hosting. • You must enable AlwaysOn.
  • 13. #xmasdev18 What are Durable Functions? Durable Functions is an advanced feature of Azure Functions. They provide the ability to write long running orchestrations using a single function while still being able to maintain a global state.
  • 14. #xmasdev18 What are Durable Functions? Run inside the Azure Function Runtime Are built on top of the Durable Task Framework Maintain their execution state using a design pattern known as Event Sourcing Written in C# (Functions v1 and v2), F# and JavaScript (Functions v2 only) – No JSON, No Designer!!! Use Azure Storage queues, tables, and blobs to persist execution history state and trigger function execution
  • 15. #xmasdev18 Is the triggered functions that will create new instances of an orchestration. It is the entry point for creating an instance of a durable orchestration Is the heart of a durable function. Orchestrator functions describe the way and order actions are executed Is the basic unit of work in a durable orchestration. An activity function must be triggered by an activity trigger Types of functions Client Orchestrator Activity
  • 18. #xmasdev18 Santa Claud Platform The letter is scanned and sent to a Durable Function The function "interprets" the letter using cognitive algorithms
  • 19. #xmasdev18 Santa Claud Platform The letters can be entered by the data entry elves through a POST call Recovers the behavior of the child during the year If the child was bad, an email is sent to the support elves The support elf decides whether the child deserves the gift or not If the child still deserves the gift, a record is added to the table of the gifts to order If the child does not deserve the gift, a record is added to the table of rejected gifts
  • 20. #xmasdev18 Santa Claud Platform The "spy" elf reports good and bad children with an app and a REST API Every night a report is created with the gifts to be ordered the next day
  • 23. DOMANDE E RISPOSTE Massimo Bonanni [email protected] @massimobonanni github.com/massimobonanni/XmasServerlessTrasformation
  • 24. #xmasdev18 Gold sponsor Technical sponsor Digital sponsor Community Design by Carmine Alfano www.carminealfano.it