How to Sell
Serverless toYour Colleagues
Subbu Allamaraju@sallamar https://www.Subbu.org
© 2018 Expedia, Inc.
Not suitable for long-running apps
Expensive Lock-in
Slow on cold start
No local storage
More complex call patterns Unknown security risks
It’s just a fad
No standards
Observability is hard
© 2018 Expedia, Inc.
AWS Lambda (2014)
Docker (2013)
Kubernetes (2014)
Xen (2003) KVM (2008)
EC2 (2006)
CloudFormation (2010)
Azure Functions (2016)
Google Cloud Functions (2016)
Google App Engine (2008)
Hyper-V (2008)VMWare (2001)
Mesos (2009)
© 2018 Expedia, Inc.
Velocity
Just-in-time allocation
Infinite scalability
Robustness
© 2018 Expedia, Inc.
Provision Deploy code
Velocity Just-in-time allocationRobustness Infinite scalability
Open loop automation
© 2018 Expedia, Inc.
Provision Deploy code
Velocity Just-in-time allocationRobustness Infinite scalability
Closed loop automation
Feedback loops
© 2018 Expedia, Inc.
Provision Deploy code
Velocity Just-in-time allocationRobustness Infinite scalability
What about stateful?
Change averse
© 2018 Expedia, Inc.
What if we’ve a framework that rules them all?
Scheduler frameworks
Apps written to the frameworkOpinionated Complicated
(my hypothesis)
Velocity Just-in-time allocationRobustness Infinite scalability
© 2018 Expedia, Inc.
Simplify and then automate
© 2018 Expedia, Inc.
StatelessStateful
Speed, ephemeral,
simpler
Durability, consistency, slower rate of change
© 2018 Expedia, Inc.
Make apps truly stateless again
Shift statefulcomplexity out
© 2018 Expedia, Inc.
A framework as a service
(truly stateless)
Managed cloud services
(stateful)
Velocity Just-in-time allocationRobustness Infinite scalability
© 2018 Expedia, Inc.
A framework as a service is a natural way to abstract operational complexity
© 2018 Expedia, Inc.
A function is the simplest possible abstraction
© 2018 Expedia, Inc.
provided
© 2018 Expedia, Inc.
S3, Glacier, Aurora, Elasticache, RDS,
Redshift, DynamoDB, Neptune, Athena,
ElasticSearch Service, Quicksight, EMR,
Kinesis, Data Pipeline, CloudSearch, Redshift,
SQS, SNS, MQ, …
BigQuery, Cloud Dataflow, Cloud
Dataproc, Cloud Datalab, Cloud Dataprep, Cloud Pub/Sub, Data Studio,
Cloud SQL, Cloud Bigtable, Cloud Spanner,
Cloud Datastore, …
Queue Storage, Blob Storage, Notification Hubs, Search, SQL Database, SQL
Data Warehouse, SQL Server Stretch Database, Cosmos DB, Redis Cache, Table Storage, HDInsight,
SQL Data Warehouse, Event Hubs, …
Embrace the service ecosystem
© 2018 Expedia, Inc.
Not suitable for long-running apps
Expensive Lock-in
Slow on cold start
No local storage
More complex call patterns Unknown security risks
It’s just a fad
No standards
Observability is hard
© 2018 Expedia, Inc.
Not suitable for long-running apps
Expensive Lock-in
Slow on cold start
No local storage
More complex call patterns Unknown security risks
It’s just a fad
No standards
Observability is hard
Understanding the why
© 2018 Expedia, Inc.
Not suitable for long-running apps
Expensive Lock-in
Slow on cold start
No local storage
More complex call patterns Unknown security risks
It’s just a fad
No standards
Observability is hard
Habits of today aka Inertia
© 2018 Expedia, Inc.
Not suitable for long-running apps
Expensive Lock-in
Slow on cold start
No local storage
More complex call patterns Unknown security risks
It’s just a fad
No standards
Observability is hard
Today != Tomorrow
© 2018 Expedia, Inc.
Not suitable for long-running apps
Expensive Lock-in
Slow on cold start
No local storage
More complex call patterns Unknown security risks
It’s just a fad
No standards
Observability is hard
© 2018 Expedia, Inc.
© 2018 Expedia, Inc.
Thank you
Subbu Allamaraju@sallamar
https://www.subbu.org