SlideShare a Scribd company logo
@pacodelacruz
Paco de la Cruz
Deloitte
Platform Engineering
Serverless APIs
The Good, the Bad and the Ugly
@pacodelacruz
API days 2019 : Melbourne
@pacodelacruz
@pacodelacruz
linkedin.com/in/pacodelacruz
pacodelacruz.io
slideshare.net/pacodelac/presentations
github.com/pacodelacruz
@pacodelacruz
What’s Serverless
Main Players
Use Cases
The Good, the Bad, and the Ugly
Demos
Key Takeaways
Q & A
Agenda
@pacodelacruz
What is Serverless?
@pacodelacruz
Cloud Compute Spectrum
@pacodelacruz
Cloud Compute Spectrum
@pacodelacruz
Cloud Compute Spectrum
@pacodelacruz
We Won’t Cover Today
Serverless
Containers /
CaaS
FaaS on K8s /
Container
Orchestrators
@pacodelacruz
Serverless Compute and its Benefits
Server abstraction
Focus on value
Load balancing &
High availability
built-in
@pacodelacruz
Serverless Compute and its Benefits
Pay only for what
you use
Server abstraction
Focus on value
Event-driven scaling
not resource-driven
Load balancing &
High availability
built-in
@pacodelacruz
Serverless FaaS in a Nutshell
Event Triggers Code Outputs
React and get inputs from
http request and services
Code Send results to different
services / protocols
@pacodelacruz
Serverless FaaS – Main Players
AWS
Lambda
Azure
Functions
Google Cloud
Functions
@pacodelacruz
Language Support
Java 8
Go 1.x
PowerShell
Node.js 8.10 & 10
C# (.NET Core 1.0, 2.1)
Python 2.7, 3.6, 3.7
Ruby code 2.5
Runtime API (extend)
C#
Node.js 8 & 10
F#
Java 8
Python 3.6
PowerShell (Preview)
Typescript
Node.js 8 & 10
Python 3.7
Go 1.11
@pacodelacruz
Triggers (not an exhaustive list)
Sync
Http API / Webhooks,
Alexa, Kinesis, Lex, etc.
Async
S3, SNS, SES,
CloudWatch,
CodeCommit, etc.
Sync
Http API / Webhooks
Async
Event Grid, Blob, Cosmos
DB, Event Hubs, Queue
Storage, Service Bus,
Timer, Graph Events
Sync
Http API / Webhooks
Async
Cloud Storage, Cloud
Pub/Sub, Firebase,
Stackdriver Logging
@pacodelacruz
Use Cases
APIs for SPAs
APIs for Web
Apps
Mobile App
Back Ends
IoT Back Ends
Integration
Pub/Sub
Services
Event Stream
Processing
Data
Processing
MapReduce
IT and Ops
Automation
CRON Jobs
Chatbots
@pacodelacruz
Speed-to-Market
Focus on Business Value (Devs & Ops)
Cost (with Sporadic Loads)
Event-Based Scaling (Ideal for Bursty Loads)
Tooling, Local Dev & Portable Runtime
Event Triggers (More than just Http)
The Good
@pacodelacruz
Vendor Lock-in
Limited Programming Languages
Opinionated Programming Models
Timeouts
Still Maturing
Constant Changes
The Bad
@pacodelacruz
Cold Starts
The Ugly
Server
Allocation
Function
Deployment
Loaded into
Memory
Code
Execution
@pacodelacruz
Cold Starts *, **
The Ugly
Server
Allocation
Function
Deployment
Loaded into
Memory
Code
Execution
* Only impacts interactive sync requests
** There are some mitigation strategies
@pacodelacruz
Sync & Low Latency
Constant Load
Portability
Full-Control of Infrastructure
Language Lack of Support
Limitations of Programming Model
Sync & Low Latency Workloads
Constant Load
Portability
Full-Control of Infrastructure
Language Lack-of-Support
Limitations of Programming Models
When Not to Use Serverless
@pacodelacruz
Let’s have
some fun!
@pacodelacruz
Quick Introduction to Azure Functions
Programming Models (Bindings)
Development and Monitoring Tooling
Demo 1
github.com/pacodelacruz/
serverless-intro-azure-functions
@pacodelacruz
Building a Serverless Request Bin
Memory cache across instances
Strategy to mitigate cold-starts
Dependency Injection
Deployment to Azure
Demo 2
github.com/pacodelacruz/
serverless-request-bin-azure-functions
@pacodelacruz
Productivity (Prog. Models, Devs & Ops Tools)
Ideal for Bursty or Async Short-lived Loads
Specific Use Cases (More than just Http)
Enterprise-Grade for Certain Scenarios
Evolving Rapidly, Still Maturing
Know the Capabilities of your Cloud Provider
Key Takeaways
@pacodelacruz
Q & A
@pacodelacruz
:)
@pacodelacruz
@pacodelacruz
linkedin.com/in/pacodelacruz
pacodelacruz.io
slideshare.net/pacodelac/presentations
github.com/pacodelacruz

More Related Content

PDF
Azure Durable Functions (2019-04-27)
PDF
Azure Durable Functions (2019-03-30)
PDF
Durable functions 2.0 (2019-10-10)
PPTX
Advanced Durable Functions - Serverless Meetup Tokyo - Feb 2018
PPTX
Durable functions
PDF
Azure Durable Functions (2018-06-13)
PPTX
Azure Durable Functions
PPTX
Vertx - Reactive & Distributed
Azure Durable Functions (2019-04-27)
Azure Durable Functions (2019-03-30)
Durable functions 2.0 (2019-10-10)
Advanced Durable Functions - Serverless Meetup Tokyo - Feb 2018
Durable functions
Azure Durable Functions (2018-06-13)
Azure Durable Functions
Vertx - Reactive & Distributed

What's hot (20)

PPTX
Firebase ng2 zurich
PPTX
Coldbox developer training – session 5
PDF
Node.js and Parse
PPT
Biz Talk Demo slideshare
PDF
Kogito: cloud native business automation
PPT
Backbone js
PDF
Presente e Futuro: Java EE.next()
PPTX
Alteryx SDK
ODP
Spray - Build RESTfull services in scala
PDF
Cooking your Ravioli "al dente" with Hexagonal Architecture
PPTX
Typescript barcelona
PDF
Query service in vCloud Director
PDF
Angular.js Primer in Aalto University
PDF
MongoDB.local Berlin: App development in a Serverless World
PDF
Function as a Service in private cloud
PDF
Jupyter Notebooks for machine learning on Kubernetes & OpenShift | DevNation ...
PDF
Consuming web services asynchronously with Futures and Rx Observables (svcc, ...
PPTX
A serverless IoT story from design to production and monitoring
PDF
Spring Boot Actuator 2.0 & Micrometer #jjug_ccc #ccc_a1
PDF
Apache spark with akka couchbase code by bhawani
Firebase ng2 zurich
Coldbox developer training – session 5
Node.js and Parse
Biz Talk Demo slideshare
Kogito: cloud native business automation
Backbone js
Presente e Futuro: Java EE.next()
Alteryx SDK
Spray - Build RESTfull services in scala
Cooking your Ravioli "al dente" with Hexagonal Architecture
Typescript barcelona
Query service in vCloud Director
Angular.js Primer in Aalto University
MongoDB.local Berlin: App development in a Serverless World
Function as a Service in private cloud
Jupyter Notebooks for machine learning on Kubernetes & OpenShift | DevNation ...
Consuming web services asynchronously with Futures and Rx Observables (svcc, ...
A serverless IoT story from design to production and monitoring
Spring Boot Actuator 2.0 & Micrometer #jjug_ccc #ccc_a1
Apache spark with akka couchbase code by bhawani
Ad

Similar to Serverless APIs, the Good, the Bad and the Ugly (2019-09-19) (20)

PDF
Serverless: The Good, the Bad and the Ugly (2019-11-19)
PPSX
Cloud Architecture - Multi Cloud, Edge, On-Premise
PDF
Spring Boot & Spring Cloud on PAS- Nate Schutta (1/2)
PPTX
Overview and Walkthrough of the Application Programming Model with SAP Cloud ...
PPTX
Hybrid integrationwithsap (Glenn Colpaert @ Integration Monday)
PDF
apidays Australia 2023 - APIs Aren't Enough: Why SaaS Leaders Are Investing I...
PDF
Primavera gateway SAP provider - Oracle Primavera P6 Collaborate 14
PPTX
Bring Service Mesh To Cloud Native-apps
PDF
Application Modernisation with PKS
PDF
Application Modernisation with PKS
PDF
Andrea Baldon, Emanuele Di Saverio - GraphQL for Native Apps: the MyAXA case ...
PPTX
DevoxxFR 2018 #serverless - Mettez-le en œuvre dans votre entreprise et arriv...
PDF
Faster, more Secure Application Modernization and Replatforming with PKS - Ku...
PDF
Cloud Native Applications on OpenShift
PPTX
Hybrid Integration with SAP
PDF
【BS1】What’s new in visual studio 2022 and c# 10
PDF
Automated Serverless Pipelines with #GitOps on Codefresh
PPTX
Embarcadero RAD server Launch Webinar
PPTX
Spring Cloud Services with Pivotal Cloud Foundry- Gokhan Goksu
PDF
DevOps for Databricks
Serverless: The Good, the Bad and the Ugly (2019-11-19)
Cloud Architecture - Multi Cloud, Edge, On-Premise
Spring Boot & Spring Cloud on PAS- Nate Schutta (1/2)
Overview and Walkthrough of the Application Programming Model with SAP Cloud ...
Hybrid integrationwithsap (Glenn Colpaert @ Integration Monday)
apidays Australia 2023 - APIs Aren't Enough: Why SaaS Leaders Are Investing I...
Primavera gateway SAP provider - Oracle Primavera P6 Collaborate 14
Bring Service Mesh To Cloud Native-apps
Application Modernisation with PKS
Application Modernisation with PKS
Andrea Baldon, Emanuele Di Saverio - GraphQL for Native Apps: the MyAXA case ...
DevoxxFR 2018 #serverless - Mettez-le en œuvre dans votre entreprise et arriv...
Faster, more Secure Application Modernization and Replatforming with PKS - Ku...
Cloud Native Applications on OpenShift
Hybrid Integration with SAP
【BS1】What’s new in visual studio 2022 and c# 10
Automated Serverless Pipelines with #GitOps on Codefresh
Embarcadero RAD server Launch Webinar
Spring Cloud Services with Pivotal Cloud Foundry- Gokhan Goksu
DevOps for Databricks
Ad

More from Paco de la Cruz (11)

PDF
Harnessing GenAI in APIs the Good the Bad and the Ugly
PDF
Extending your Azure Integration Solutions with Open AI - Logic App Aviators
PDF
Extending your Azure Integration Services Solutions with Open AI
PDF
Mi experiencia en AU IT.pdf
PDF
Custom Distributed Tracing in Azure Functions (2021-02-27)
PDF
Azure Event Grid Lighting Talk (2017-10-05)
PDF
Building Serverless Event-Driven Apps with Azure Event Grid (2017-09-21)
PDF
Logic Apps and Azure Functions for Serverless Integration (2017-03-25)
PDF
Microsoft Azure iPaaS Overview and What's New (2018-03-24)
PDF
Building Serverless Integration Solutions with Logic Apps (2017-04-22)
PDF
Love at First Sight with Azure Logic Apps (2017-06-22)
Harnessing GenAI in APIs the Good the Bad and the Ugly
Extending your Azure Integration Solutions with Open AI - Logic App Aviators
Extending your Azure Integration Services Solutions with Open AI
Mi experiencia en AU IT.pdf
Custom Distributed Tracing in Azure Functions (2021-02-27)
Azure Event Grid Lighting Talk (2017-10-05)
Building Serverless Event-Driven Apps with Azure Event Grid (2017-09-21)
Logic Apps and Azure Functions for Serverless Integration (2017-03-25)
Microsoft Azure iPaaS Overview and What's New (2018-03-24)
Building Serverless Integration Solutions with Logic Apps (2017-04-22)
Love at First Sight with Azure Logic Apps (2017-06-22)

Recently uploaded (20)

PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Approach and Philosophy of On baking technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Cloud computing and distributed systems.
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
KodekX | Application Modernization Development
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Advanced methodologies resolving dimensionality complications for autism neur...
20250228 LYD VKU AI Blended-Learning.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Empathic Computing: Creating Shared Understanding
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Approach and Philosophy of On baking technology
Unlocking AI with Model Context Protocol (MCP)
Cloud computing and distributed systems.
NewMind AI Weekly Chronicles - August'25 Week I
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
KodekX | Application Modernization Development
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...

Serverless APIs, the Good, the Bad and the Ugly (2019-09-19)