1@bretmcg
5 things Developers should know
about Serverless
Prithpal Bhogill
Product Management
Proprietary + Confidential
What is Serverless?
Proprietary + Confidential
Execution model where code runs in a fully-managed,
serverless environment in which the cloud provider
handles the servers, operating systems and runtime
environments
Proprietary + Confidential
Attributes of Serverless
No servers to manage Automatic Scale
Pay by request
Lightweight Event-based
Microservices
Proprietary + Confidential
Stack Reimagined
FaaS BaaS
PubSub
API Gateway
Async
Events
Sync
Events
Proprietary + Confidential
What is FaaS?
● Deployment = VM Code
● Event based
● No access to file system
● Pay by request
● Built-in logging /
monitoring
Google Cloud Functions
AWS Lambda
Azure Functions
Proprietary + Confidential
Communication Patterns
FaaS
PubSub
API Gateway
Async
Events
Sync
Events
Proprietary + Confidential
APIs for REST <-> RPC
/order
function getOrder(..)
function createOrder(..)
function updateOrder(..)
function deleteOrder(..)
Proprietary + Confidential
Full lifecycle API Management
Design
Develop
Secure
PublishMonitor
Analyze
Monetize
Scale
Proprietary + Confidential
What is BaaS?
● Multi-Tenant DB
● Usually based on NoSQL
● Limited index configuration
● Pay by request / storage
● Built-in logging /
monitoring
API BaaS
(Usergrid)
Firebase
DynamoDB
Cloud
Datastore
SimpleDB
Google BaaS
AWS BaaS
Cloud Datastore Transactions Per Second
(50x Actual Traffic, 5X Worst Case Estimate, 1X Target Traffic)
Original Launch Target Estimated Worst Case Actual Traffic
Proprietary + Confidential
Benefits
● Economies of Scale
● No Less Ops
● Simplified Programming
Model
Proprietary + Confidential
Production Deployment
Proprietary + Confidential
Proprietary + Confidential
How do I choose?
Serverless Containers
Code deployment ✔ ✔
No server management ✔
Persistent workload ✔
Event based workload ✔
OS level access ✔
Proprietary + Confidential
Intelligent Chat Bots
Proprietary + Confidential
Demo Architecture
apigee.com/about/developers
Apigee Edge Cloud
Functions API.ai
Intercom
18@bretmcg 18
Your turn!
apigee.com/about/developers
https://cloud.google.com/nodejs/samples/
@pbhogill
Proprietary + Confidential
5 things to know
Stack Reimagined Simplified
Cheap Lots of fun
Some Gotchas

Adapt or Die Sydney - 5 Things Developers Should Know About Serverless