Serverless Design Patterns (London Dev Community)

Yan Cui
Yan CuiSpeaker at Self
SERVERLESS
DESIGN PATTERNS
by YAN CUI
@theburningmonk
Yan Cui
http://theburningmonk.com
@theburningmonk
2014
Serverless Design Patterns (London Dev Community)
Serverless Design Patterns (London Dev Community)
Serverless Design Patterns (London Dev Community)
Serverless Design Patterns (London Dev Community)
Serverless Design Patterns (London Dev Community)
“Serverless”
Serverless Design Patterns (London Dev Community)
Gojko Adzic
It is serverless the same way
WiFi is wireless.
http://bit.ly/2yQgwwb
Serverless means…
don’t pay for it if no-one uses it
don’t need to worry about scaling
don’t need to provision and manage servers
“Function-as-a-Service”
AWS Lambda
Azure Functions
Google Cloud Functions
Auth0 Webtask
Spotinst Functions Kubeless
IBM Cloud Functions
AWS Lambda
AWS Lambda
API Gateway IOT SNS Kinesis CloudWatch
IaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
CaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
PaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
FaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
User User (scalable unit) Provider
IaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
CaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
PaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
FaaS
Function
Application
Runtime
Container
OS
Virtualization
Hardware
User User (scalable unit) Provider
Serverless
FaaS
other services…
Database
Storage
BI
SERVERLESS WILL FUNDAMENTALLY
CHANGE HOW WE BUILD BUSINESS
AROUND TECHNOLOGY AND HOW YOU
CODE.
Simon Wardley
more Scalable
(and scales faster!)
Cheaper
(don’t pay for idle servers)
Resilience
(built-in redundancy and multi-AZ)
idea production
choose language
+ framework
master language
+ framework
figure out
deployment
configure AMI
configure ELB
configure
autoscaling
capacity planning
over-provision for
launch
are we doing
microservices?
configure CI/CD
idea production
choose language
+ framework
master language
+ framework
figure out
deployment
configure AMI
configure ELB
configure
autoscaling
capacity planning
over-provision for
launch
are we doing
microservices?
configure CI/CD
idea production
greater Velocity from idea to product
minimise Undifferentiated
heavy-lifting
Less ops responsibility on
your shoulders
https://www.youtube.com/watch?v=pptsgV4bKv8
Serverless Design Patterns (London Dev Community)
http://bit.ly/2Dpidje
events are an enabler for
COMPOSABILITY
AWS LAMBDA
is the...
Serverless Design Patterns (London Dev Community)
PATTERNS
WARNING!!
A DESIGN PATTERN IS NOT...
A RECIPE FOR SUCCESS
Pattern
/pat(ə)n/
A pattern is the repeated or
regular way in which something
happens or is done.
UNDERSTAND YOUR PROBLEMS
AND CONSTRAINTS OVER
FOLLOWING A PATTERN.
me
http://bit.ly/2Goq5mY
I’m not trying to sell you a “magic” elixir!
there are no silver bullets
Pattern
/pat(ə)n/
A pattern is the repeated or
regular way in which something
happens or is done.
CRON
AWS LambdaCloudWatch Events
CloudWatch Events
Serverless Design Patterns (London Dev Community)
Serverless Design Patterns (London Dev Community)
OPS AUTOMATION
AWS Lambda CloudWatch Logs
CloudWatch Logs
AWS Lambda CloudWatch Logs AWS Lambda
CloudWatch Logs
AWS Lambda CloudWatch Logs
CloudTrail
CloudWatch Events
Serverless Design Patterns (London Dev Community)
Serverless Design Patterns (London Dev Community)
AWS Lambda CloudWatch Logs
CloudWatch Events
CloudTrail
AWS Lambda
AWS Lambda CloudWatch Logs
CloudWatch Events
CloudTrail
AWS Lambda
AWS Lambda
AWS Lambda CloudWatch Logs
CloudWatch Events
CloudTrail
AWS Lambda
AWS Lambda
auto-update CloudWatch retention policy
auto-create alarms for new APIs
auto-create dashboards for new APIs
alert on suspicious console logins
alert on EC2 activities in unused regions
…
WEB APPS
CloudFront S3
Browser
API Gateway AWS Lambda DynamoDBRoute53
CloudFront S3
Browser
API Gateway AWS Lambda DynamoDBRoute53
CloudFront S3
Browser
Cognito
Federated
Identities
Sync
User Flows
Registration
Verify email/phone
Secure sign-in
Forgotten password
Change password
Sign out
Cognito User
Pools
Federated
Identities
Sync
Leading Practices
Secure password handling
with SRP protocol
Encrypt all data server-side
Password policies
Token-based authentication
MFA
Support CAPTCHA
Cognito User
Pools
what is Cognito?
Cognito
Federated Identities
Cognito
User Pools
Facebook TwitterGoogle
…
identity providers
authenticate
what is Cognito?
Cognito
Federated Identities
Cognito
User Pools
Facebook TwitterGoogle
…
identity providers
authenticate token
what is Cognito?
Cognito
Federated Identities
Cognito
User Pools
Facebook TwitterGoogle
…
identity providers
authenticate token
token
validate
what is Cognito?
Cognito
Federated Identities
Cognito
User Pools
Facebook TwitterGoogle
…
identity providers
authenticate token
token
validate
what is Cognito?
Cognito
Federated Identities
Cognito
User Pools
Facebook TwitterGoogle
…
identity providers
authenticate token
token
IAM credential
validate
what is Cognito?
Cognito
Federated Identities
Cognito
User Pools
Facebook TwitterGoogle
…
identity providers
API Gateway S3 DynamoDB SNSIOT Kinesis
authenticate token
token
IAM credential
IAM credential
what about Multi-Region support?
https://aws.amazon.com/dynamodb/global-tables
http://amzn.to/2Bwb5j6
API Gateway AWS Lambda
DynamoDB
Route53
CloudFront S3
Browser
API Gateway AWS Lambda
eu-west-1
us-east-1
http://bit.ly/2FGKsuA
DATA LAKES
S3 Buckets
S3 Buckets
IAM
S3 Buckets
KMSIAM
S3 Buckets
KMS MacieIAM
S3 BucketsKinesis Streams Kinesis Firehose
KMS MacieIAM
S3 BucketsKinesis Streams Kinesis Firehose
AWS Lambda
KMS MacieIAM
S3 BucketsKinesis Streams Kinesis Firehose
AWS Lambda
KMS MacieIAM
AWS Lambda
S3 BucketsKinesis Streams Kinesis Firehose
AWS Lambda AWS Lambda
KMS MacieIAM
AWS Lambda
S3 BucketsKinesis Streams Kinesis Firehose
AWS Lambda AWS Lambda
KMS MacieIAM
AWS Lambda
DynamoDB
ElasticSearch
S3 BucketsKinesis Streams Kinesis Firehose
AWS Lambda AWS Lambda
KMS MacieIAM
AWS Lambda Google BigQuery
S3 BucketsKinesis Streams Kinesis Firehose
AWS Lambda AWS Lambda
Athena QuickSight
KMS MacieIAM
AWS Lambda
S3 BucketsKinesis Streams Kinesis Firehose
AWS Lambda AWS Lambda
Athena QuickSight
KMS MacieIAM
AWS Lambda
DECOUPLED
INVOCATION
Decoupled Invocation
How can a service handle normal
request loads, peak request loads,
and a continuous period of high
load without failing?
business logic requires expensive processing
API Gateway
max integration timeout is 29 seconds
http://amzn.to/2BwW5Bx
downstream systems not as scalable
Serverless Design Patterns (London Dev Community)
decouple reply from the initial request
APIClient
POST /do_something
workerAPIClient
POST /do_something
202 /result_location
do work
workerAPIClient
POST /do_something
202 /result_location
GET /result_location
202 /result_location
do work
workerAPIClient
POST /do_something
202 /result_location
GET /result_location
202 /result_location
do work
work done
workerAPIClient
POST /do_something
202 /result_location
GET /result_location
202 /result_location
do work
work done
GET /result_location
200 OK
amortises spikes in load
Serverless Design Patterns (London Dev Community)
allows fast response back to caller whilst
promises to finish work later
Serverless Design Patterns (London Dev Community)
allows flexible retry strategies by removing the
urgency of having to reply to caller right away
DynamoDB
API Gateway
POST
task id created at result
xxx xxx <null>
xxx xxx <null>
… … …
task results
not ready
PutItem
DynamoDB
API Gateway
POST
task id created at result
xxx xxx <null>
xxx xxx <null>
… … …
task results
not ready
SQS
DynamoDB
API Gateway
202
task id created at result
xxx xxx <null>
xxx xxx <null>
… … …
task results
not ready
SQS
use “created at” timestamp to timeout
polling requests and avoid infinite retry
DynamoDBAPI Gateway
GET
task id created at result
xxx xxx <null>
xxx xxx <null>
… … …
task results
not ready
SQS
DynamoDBAPI Gateway
202
task id created at result
xxx xxx <null>
xxx xxx <null>
… … …
task results
not ready
SQS
DynamoDB
task id created at result
xxx { … }
xxx <null>
… …
task results
done
UpdateItem
xxx
xxx
…
SQS
DynamoDBAPI Gateway
GET
task id created at result
xxx xxx { … }
xxx xxx <null>
… … …
task results
done
DynamoDBAPI Gateway
200 { … }
also consider using Kinesis Streams or
DynamoDB Streams as queue
but SNS is a poor choice
(invocation-per-message means no amortisation)
PUB-SUB
msg broker
subscriber
subscriber
subscriber
subscriber
…
one message, many consumers
good for decoupling data processing
independent failures
partial failures are easier to manage
SNS, Kinesis Streams, DynamoDB Streams, etc…
SNS
2 retries then DLQ
SNS
2 retries then DLQ
invocation per msg
SNS
2 retries then DLQ
invocation per msg
might run into
throttling limits
consider impact on
downstream
SNS
suffers from temporal issues
msg/s
time
max throughput
erred and retried
msg/s
time
max throughput
erred and retried
msg/s
time
max throughput
downstream outage
Kinesis
retried until success
Kinesis
retried until success
invocation per shard
Kinesis
better handling of temporal issues
msg/s
time
processed
max throughput amortised
received
msg/s
time
max throughput
downstream outage
processed
received
DynamoDB
Streams
DynamoDB
Kinesis Streams or DynamoDB Streams?
what is your source of truth?
limited to events from one table
records describe DynamoDB events,
not events from your domain
auto-scales no. of shards
cannot extend data retention beyond 24 hours
charged based on no. of requests
($0.02 per 100,000 read request units)
Serverless Design Patterns (London Dev Community)
1 msg/s for a month, 1KB per msg
$0.47
1 x 60s x 60m x 24hr x 30days
@ $0.014 per mil
+
24hrs x 30days
@ $0.015 per hr
$10.836
1 x 60s x 60m x 24hr x 30days
@ $0.5 per mil
$1.296
DynamoDB StreamsSNSKinesis Streams
1 Write Capacity Unit
@ $0.47 per unit
1k msg/s for a month, 1KB per msg
1k x 60s x 60m x 24hr x 30days
@ $0.014 per mil
+
24hrs x 30days
@ $0.015 per hr
$47.088
1k x 60s x 60m x 24hr x 30days
@ $0.5 per mil
$1296.00
DynamoDB StreamsSNSKinesis Streams
$470.00
1k Write Capacity Unit
@ $0.47 per unit
DON’T take these projections at face value!
SNS
no restriction on
destination target
SNS
no restriction on
destination target
need to handle partial
failures & retries
SNS
PUSH-PULL
worker
worker
worker
worker
…
round-robin
msg ventilator
tasks are distributed to pool of consumers
one task, one consumer
good for divide-and-conquer to improve
throughput and processing time
one function, many
concurrent invocations
SNS
SQS
one function, many
concurrent invocations
manual polling
not a supported
event source
DLQ support
SQS
manual polling
not a supported
event source
DLQ support
invocation per “poller”
SQS
find out more at: http://bit.ly/2npomX6
consider the cost implications at scale
1 msg/s for a month, 1KB per msg
1 x 60s x 60m x 24hr x 30days
@ $0.4 per mil
$1.0368
1 x 60s x 60m x 24hr x 30days
@ $0.014 per mil
+
24hrs x 30days
@ $0.015 per hr
$10.836
1 x 60s x 60m x 24hr x 30days
@ $0.5 per mil
$1.296
SQSSNSKinesis
1k msg/s for a month, 1KB per msg
1k x 60s x 60m x 24hr x 30days
@ $0.014 per mil
+
24hrs x 30days
@ $0.015 per hr
$47.088
1k x 60s x 60m x 24hr x 30days
@ $0.4 per mil
$1036.80
1k x 60s x 60m x 24hr x 30days
@ $0.5 per mil
$1296.00
SQSSNSKinesis
worker
worker
worker
worker
…
round-robin
msg ventilator sink
one function, many
concurrent invocations
SNS
need mechanism for collecting results
one function, many
concurrent invocations
job id task no. result
xxx 001 xxx
xxx 002 xxx
xxx 003 xxx
xxx 004 xxx
… … …
job results
each invocation
saves its own result
SNS DynamoDB
001
002
003
004
one function, many
concurrent invocations
max item size is 400KB
SNS
job id task no. result
xxx 001 xxx
xxx 002 xxx
xxx 003 xxx
xxx 004 xxx
… … …
job results
each invocation
saves its own result
DynamoDB
001
002
003
004
one function, many
concurrent invocations
invocations save results
in the same folder
SNS S3
001
002
003
004
max object size is 5TB!!
how do we know when all the results are in?
one function, many
concurrent invocations
job id tasks left
xxx 42
yyy 81
… …
job status
atomic decrement
no. of tasks left
the parent function
initialises no. of tasks left
SNS DynamoDB
001
002
003
004
job id tasks left
xxx 42
yyy 0
… …
job status
SNS DynamoDB
one function, many
concurrent invocations
all results are in
001
002
003
004
DynamoDB
one function, many
concurrent invocations
invocation that sees
“tasks left” reach 0
SNS
SNS
trigger reducer
001
002
003
004
what about Step Functions?
doesn’t support spawning arbitrary no.
of functions in a step yet
SAGA
pattern for managing failures where each
action has a compensating action for rollback
https://www.youtube.com/watch?v=xDuwrtwYHu8
Begin transaction
Start book hotel request
End book hotel request
Start book flight request
End book flight request
Start book car rental request
End book car rental request
End transaction
model actions and compensating
actions as Lambda functions
actions
compensating actions
state machine in AWS Step Functions as
the coordinator for the saga
AWS Step Functions
http://bit.ly/2uTJBE3
input
Serverless Design Patterns (London Dev Community)
Serverless Design Patterns (London Dev Community)
Serverless Design Patterns (London Dev Community)
Serverless Design Patterns (London Dev Community)
source code available here:
https://github.com/theburningmonk/lambda-saga-pattern
@theburningmonk
theburningmonk.com
github.com/theburningmonk
API Gateway and Kinesis
Authentication & authorisation (IAM, Cognito)
Testing
Running & Debugging functions locally
Log aggregation
Monitoring & Alerting
X-Ray
Correlation IDs
CI/CD
Performance and Cost optimisation
Error Handling
Configuration management
VPC
Security
Leading practices (API Gateway, Kinesis, Lambda)
Canary deployments
http://bit.ly/prod-ready-serverless
get 40% off
with: ytcui
1 of 194

Recommended

The present and future of Serverless observability by
The present and future of Serverless observabilityThe present and future of Serverless observability
The present and future of Serverless observabilityYan Cui
758 views182 slides
The present and future of Serverless observability by
The present and future of Serverless observabilityThe present and future of Serverless observability
The present and future of Serverless observabilityYan Cui
5.1K views181 slides
Linuxtag 2012 - OpenNebula by
Linuxtag 2012 - OpenNebula  Linuxtag 2012 - OpenNebula
Linuxtag 2012 - OpenNebula OpenNebula Project
827 views17 slides
Patterns and Practices for Building Resilient Serverless Applications by
Patterns and Practices for Building Resilient Serverless ApplicationsPatterns and Practices for Building Resilient Serverless Applications
Patterns and Practices for Building Resilient Serverless ApplicationsYan Cui
272 views130 slides
API310 - How to refactor a monolith to serverless in 8 steps by
API310 - How to refactor a monolith to serverless in 8 stepsAPI310 - How to refactor a monolith to serverless in 8 steps
API310 - How to refactor a monolith to serverless in 8 stepsYan Cui
464 views26 slides
The present and future of serverless observability (QCon London) by
The present and future of serverless observability (QCon London)The present and future of serverless observability (QCon London)
The present and future of serverless observability (QCon London)Yan Cui
642 views185 slides

More Related Content

What's hot

Serverless security: defense against the dark arts by
Serverless security: defense against the dark artsServerless security: defense against the dark arts
Serverless security: defense against the dark artsYan Cui
1.7K views182 slides
Serverless Design Patterns by
Serverless Design PatternsServerless Design Patterns
Serverless Design PatternsYan Cui
759 views170 slides
Serveless design patterns by
Serveless design patternsServeless design patterns
Serveless design patternsYan Cui
390 views168 slides
Serverless a superpower for frontend developers by
Serverless a superpower for frontend developersServerless a superpower for frontend developers
Serverless a superpower for frontend developersYan Cui
591 views159 slides
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB by
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDBAmazon Web Services
11.1K views58 slides
Security in serverless world by
Security in serverless worldSecurity in serverless world
Security in serverless worldYan Cui
1.5K views172 slides

What's hot(20)

Serverless security: defense against the dark arts by Yan Cui
Serverless security: defense against the dark artsServerless security: defense against the dark arts
Serverless security: defense against the dark arts
Yan Cui1.7K views
Serverless Design Patterns by Yan Cui
Serverless Design PatternsServerless Design Patterns
Serverless Design Patterns
Yan Cui759 views
Serveless design patterns by Yan Cui
Serveless design patternsServeless design patterns
Serveless design patterns
Yan Cui390 views
Serverless a superpower for frontend developers by Yan Cui
Serverless a superpower for frontend developersServerless a superpower for frontend developers
Serverless a superpower for frontend developers
Yan Cui591 views
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB by Amazon Web Services
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
Amazon Web Services11.1K views
Security in serverless world by Yan Cui
Security in serverless worldSecurity in serverless world
Security in serverless world
Yan Cui1.5K views
Debugging AWS Lambda Performance Issues by Yan Cui
Debugging AWS Lambda Performance  IssuesDebugging AWS Lambda Performance  Issues
Debugging AWS Lambda Performance Issues
Yan Cui347 views
AWS Lambda from the trenches (Serverless London) by Yan Cui
AWS Lambda from the trenches (Serverless London)AWS Lambda from the trenches (Serverless London)
AWS Lambda from the trenches (Serverless London)
Yan Cui815 views
Serverless Architectural Patterns by Yan Cui
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
Yan Cui1.7K views
You wouldn't build a toast, would you? by Yan Cui
You wouldn't build a toast, would you?You wouldn't build a toast, would you?
You wouldn't build a toast, would you?
Yan Cui1.2K views
Real Time Data Processing Using AWS Lambda - DevDay Los Angeles 2017 by Amazon Web Services
Real Time Data Processing Using AWS Lambda - DevDay Los Angeles 2017Real Time Data Processing Using AWS Lambda - DevDay Los Angeles 2017
Real Time Data Processing Using AWS Lambda - DevDay Los Angeles 2017
Amazon Web Services1.1K views
Mastering AWS Organizations with Infrastructure as code by Yan Cui
Mastering AWS Organizations with Infrastructure as codeMastering AWS Organizations with Infrastructure as code
Mastering AWS Organizations with Infrastructure as code
Yan Cui234 views
(CMP403) AWS Lambda: Simplifying Big Data Workloads by Amazon Web Services
(CMP403) AWS Lambda: Simplifying Big Data Workloads(CMP403) AWS Lambda: Simplifying Big Data Workloads
(CMP403) AWS Lambda: Simplifying Big Data Workloads
Amazon Web Services5.8K views
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404) by Amazon Web Services
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)
Amazon Web Services1.8K views
Serveless Design Patterns (Serverless Computing London) by Yan Cui
Serveless Design Patterns (Serverless Computing London)Serveless Design Patterns (Serverless Computing London)
Serveless Design Patterns (Serverless Computing London)
Yan Cui2.4K views
DevOps, Microservices and Serverless Architecture by Mikhail Prudnikov
DevOps, Microservices and Serverless ArchitectureDevOps, Microservices and Serverless Architecture
DevOps, Microservices and Serverless Architecture
Mikhail Prudnikov720 views
Creating Your Virtual Data Center: VPC Fundamentals by Amazon Web Services
Creating Your Virtual Data Center: VPC FundamentalsCreating Your Virtual Data Center: VPC Fundamentals
Creating Your Virtual Data Center: VPC Fundamentals
Serverless - When to FaaS? by Benny Bauer
Serverless - When to FaaS?Serverless - When to FaaS?
Serverless - When to FaaS?
Benny Bauer3K views

Similar to Serverless Design Patterns (London Dev Community)

Serverless Design Patterns by
Serverless Design PatternsServerless Design Patterns
Serverless Design PatternsYan Cui
903 views206 slides
Serveless design patterns (VoxxedDays Luxembourg) by
Serveless design patterns (VoxxedDays Luxembourg)Serveless design patterns (VoxxedDays Luxembourg)
Serveless design patterns (VoxxedDays Luxembourg)Yan Cui
1.1K views205 slides
Containerless in the Cloud with AWS Lambda by
Containerless in the Cloud with AWS LambdaContainerless in the Cloud with AWS Lambda
Containerless in the Cloud with AWS LambdaRyan Cuprak
1.4K views69 slides
Apply best parts of microservices to serverless by
Apply best parts of microservices to serverlessApply best parts of microservices to serverless
Apply best parts of microservices to serverlessYan Cui
1.6K views133 slides
What can you do with lambda in 2020 by
What can you do with lambda in 2020What can you do with lambda in 2020
What can you do with lambda in 2020Yan Cui
1K views157 slides
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401) by
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)Amazon Web Services
3.6K views75 slides

Similar to Serverless Design Patterns (London Dev Community)(20)

Serverless Design Patterns by Yan Cui
Serverless Design PatternsServerless Design Patterns
Serverless Design Patterns
Yan Cui903 views
Serveless design patterns (VoxxedDays Luxembourg) by Yan Cui
Serveless design patterns (VoxxedDays Luxembourg)Serveless design patterns (VoxxedDays Luxembourg)
Serveless design patterns (VoxxedDays Luxembourg)
Yan Cui1.1K views
Containerless in the Cloud with AWS Lambda by Ryan Cuprak
Containerless in the Cloud with AWS LambdaContainerless in the Cloud with AWS Lambda
Containerless in the Cloud with AWS Lambda
Ryan Cuprak1.4K views
Apply best parts of microservices to serverless by Yan Cui
Apply best parts of microservices to serverlessApply best parts of microservices to serverless
Apply best parts of microservices to serverless
Yan Cui1.6K views
What can you do with lambda in 2020 by Yan Cui
What can you do with lambda in 2020What can you do with lambda in 2020
What can you do with lambda in 2020
Yan Cui1K views
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401) by Amazon Web Services
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
Amazon Web Services3.6K views
Beware the potholes by Yan Cui
Beware the potholesBeware the potholes
Beware the potholes
Yan Cui1.1K views
Ovations AWS pop-up loft 2019 Technical presentation by GeanBoegman
Ovations AWS pop-up loft 2019 Technical presentationOvations AWS pop-up loft 2019 Technical presentation
Ovations AWS pop-up loft 2019 Technical presentation
GeanBoegman117 views
Serverless in production (O'Reilly Software Architecture) by Yan Cui
Serverless in production (O'Reilly Software Architecture)Serverless in production (O'Reilly Software Architecture)
Serverless in production (O'Reilly Software Architecture)
Yan Cui1.4K views
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th... by MongoDB
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
MongoDB World 2018: Ch-Ch-Ch-Ch-Changes: Taking Your Stitch Application to th...
MongoDB339 views
Deep Dive on Serverless Web Applications - AWS May 2016 Webinar Series by Amazon Web Services
Deep Dive on Serverless Web Applications - AWS May 2016 Webinar SeriesDeep Dive on Serverless Web Applications - AWS May 2016 Webinar Series
Deep Dive on Serverless Web Applications - AWS May 2016 Webinar Series
Amazon Web Services6.1K views
Serverless AWS reInvent 2019 recap by Daniel Zivkovic
Serverless AWS reInvent 2019 recapServerless AWS reInvent 2019 recap
Serverless AWS reInvent 2019 recap
Daniel Zivkovic196 views
Zombie Apocalypse Workshop by Warren Santer and Kyle Somers, Solutions Archit... by Amazon Web Services
Zombie Apocalypse Workshop by Warren Santer and Kyle Somers, Solutions Archit...Zombie Apocalypse Workshop by Warren Santer and Kyle Somers, Solutions Archit...
Zombie Apocalypse Workshop by Warren Santer and Kyle Somers, Solutions Archit...
Amazon Web Services1.6K views
Serverless in production, an experience report (FullStack 2018) by Yan Cui
Serverless in production, an experience report (FullStack 2018)Serverless in production, an experience report (FullStack 2018)
Serverless in production, an experience report (FullStack 2018)
Yan Cui359 views
Lessons from running AppSync in prod by Yan Cui
Lessons from running AppSync in prodLessons from running AppSync in prod
Lessons from running AppSync in prod
Yan Cui1.1K views
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ... by Amazon Web Services
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
Amazon Web Services4.9K views
Serverless in production, an experience report by Yan Cui
Serverless in production, an experience reportServerless in production, an experience report
Serverless in production, an experience report
Yan Cui1.3K views
Čtvrtkon #64 - AWS Serverless - Michal Haták by Ctvrtkoncz
Čtvrtkon #64 - AWS Serverless - Michal HatákČtvrtkon #64 - AWS Serverless - Michal Haták
Čtvrtkon #64 - AWS Serverless - Michal Haták
Ctvrtkoncz89 views
Building Event-Driven (Micro) Services with Apache Kafka by Guido Schmutz
Building Event-Driven (Micro) Services with Apache KafkaBuilding Event-Driven (Micro) Services with Apache Kafka
Building Event-Driven (Micro) Services with Apache Kafka
Guido Schmutz1.4K views

More from Yan Cui

How to win the game of trade-offs by
How to win the game of trade-offsHow to win the game of trade-offs
How to win the game of trade-offsYan Cui
21 views84 slides
How to choose the right messaging service by
How to choose the right messaging serviceHow to choose the right messaging service
How to choose the right messaging serviceYan Cui
135 views118 slides
How to choose the right messaging service for your workload by
How to choose the right messaging service for your workloadHow to choose the right messaging service for your workload
How to choose the right messaging service for your workloadYan Cui
65 views113 slides
Patterns and practices for building resilient serverless applications.pdf by
Patterns and practices for building resilient serverless applications.pdfPatterns and practices for building resilient serverless applications.pdf
Patterns and practices for building resilient serverless applications.pdfYan Cui
170 views137 slides
Serverless observability - a hero's perspective by
Serverless observability - a hero's perspectiveServerless observability - a hero's perspective
Serverless observability - a hero's perspectiveYan Cui
385 views118 slides
How to ship customer value faster with step functions by
How to ship customer value faster with step functionsHow to ship customer value faster with step functions
How to ship customer value faster with step functionsYan Cui
652 views157 slides

More from Yan Cui(20)

How to win the game of trade-offs by Yan Cui
How to win the game of trade-offsHow to win the game of trade-offs
How to win the game of trade-offs
Yan Cui21 views
How to choose the right messaging service by Yan Cui
How to choose the right messaging serviceHow to choose the right messaging service
How to choose the right messaging service
Yan Cui135 views
How to choose the right messaging service for your workload by Yan Cui
How to choose the right messaging service for your workloadHow to choose the right messaging service for your workload
How to choose the right messaging service for your workload
Yan Cui65 views
Patterns and practices for building resilient serverless applications.pdf by Yan Cui
Patterns and practices for building resilient serverless applications.pdfPatterns and practices for building resilient serverless applications.pdf
Patterns and practices for building resilient serverless applications.pdf
Yan Cui170 views
Serverless observability - a hero's perspective by Yan Cui
Serverless observability - a hero's perspectiveServerless observability - a hero's perspective
Serverless observability - a hero's perspective
Yan Cui385 views
How to ship customer value faster with step functions by Yan Cui
How to ship customer value faster with step functionsHow to ship customer value faster with step functions
How to ship customer value faster with step functions
Yan Cui652 views
How serverless changes the cost paradigm by Yan Cui
How serverless changes the cost paradigmHow serverless changes the cost paradigm
How serverless changes the cost paradigm
Yan Cui1.1K views
Why your next serverless project should use AWS AppSync by Yan Cui
Why your next serverless project should use AWS AppSyncWhy your next serverless project should use AWS AppSync
Why your next serverless project should use AWS AppSync
Yan Cui1.3K views
Build social network in 4 weeks by Yan Cui
Build social network in 4 weeksBuild social network in 4 weeks
Build social network in 4 weeks
Yan Cui642 views
Patterns and practices for building resilient serverless applications by Yan Cui
Patterns and practices for building resilient serverless applicationsPatterns and practices for building resilient serverless applications
Patterns and practices for building resilient serverless applications
Yan Cui393 views
How to bring chaos engineering to serverless by Yan Cui
How to bring chaos engineering to serverlessHow to bring chaos engineering to serverless
How to bring chaos engineering to serverless
Yan Cui456 views
Migrating existing monolith to serverless in 8 steps by Yan Cui
Migrating existing monolith to serverless in 8 stepsMigrating existing monolith to serverless in 8 steps
Migrating existing monolith to serverless in 8 steps
Yan Cui402 views
Building a social network in under 4 weeks with Serverless and GraphQL by Yan Cui
Building a social network in under 4 weeks with Serverless and GraphQLBuilding a social network in under 4 weeks with Serverless and GraphQL
Building a social network in under 4 weeks with Serverless and GraphQL
Yan Cui289 views
FinDev as a business advantage in the post covid19 economy by Yan Cui
FinDev as a business advantage in the post covid19 economyFinDev as a business advantage in the post covid19 economy
FinDev as a business advantage in the post covid19 economy
Yan Cui546 views
How to improve lambda cold starts by Yan Cui
How to improve lambda cold startsHow to improve lambda cold starts
How to improve lambda cold starts
Yan Cui867 views
A chaos experiment a day, keeping the outage away by Yan Cui
A chaos experiment a day, keeping the outage awayA chaos experiment a day, keeping the outage away
A chaos experiment a day, keeping the outage away
Yan Cui385 views
How to debug slow lambda response times by Yan Cui
How to debug slow lambda response timesHow to debug slow lambda response times
How to debug slow lambda response times
Yan Cui317 views
What can you do with lambda in 2020 by Yan Cui
What can you do with lambda in 2020What can you do with lambda in 2020
What can you do with lambda in 2020
Yan Cui679 views
How to ship customer value faster with step functions by Yan Cui
How to ship customer value faster with step functionsHow to ship customer value faster with step functions
How to ship customer value faster with step functions
Yan Cui680 views
Debugging Lambda timeouts by Yan Cui
Debugging Lambda timeoutsDebugging Lambda timeouts
Debugging Lambda timeouts
Yan Cui218 views

Recently uploaded

Case Study Copenhagen Energy and Business Central.pdf by
Case Study Copenhagen Energy and Business Central.pdfCase Study Copenhagen Energy and Business Central.pdf
Case Study Copenhagen Energy and Business Central.pdfAitana
16 views3 slides
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas... by
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...Bernd Ruecker
37 views69 slides
AMAZON PRODUCT RESEARCH.pdf by
AMAZON PRODUCT RESEARCH.pdfAMAZON PRODUCT RESEARCH.pdf
AMAZON PRODUCT RESEARCH.pdfJerikkLaureta
26 views13 slides
Kyo - Functional Scala 2023.pdf by
Kyo - Functional Scala 2023.pdfKyo - Functional Scala 2023.pdf
Kyo - Functional Scala 2023.pdfFlavio W. Brasil
368 views92 slides
Design Driven Network Assurance by
Design Driven Network AssuranceDesign Driven Network Assurance
Design Driven Network AssuranceNetwork Automation Forum
15 views42 slides
Uni Systems for Power Platform.pptx by
Uni Systems for Power Platform.pptxUni Systems for Power Platform.pptx
Uni Systems for Power Platform.pptxUni Systems S.M.S.A.
56 views21 slides

Recently uploaded(20)

Case Study Copenhagen Energy and Business Central.pdf by Aitana
Case Study Copenhagen Energy and Business Central.pdfCase Study Copenhagen Energy and Business Central.pdf
Case Study Copenhagen Energy and Business Central.pdf
Aitana16 views
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas... by Bernd Ruecker
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
iSAQB Software Architecture Gathering 2023: How Process Orchestration Increas...
Bernd Ruecker37 views
AMAZON PRODUCT RESEARCH.pdf by JerikkLaureta
AMAZON PRODUCT RESEARCH.pdfAMAZON PRODUCT RESEARCH.pdf
AMAZON PRODUCT RESEARCH.pdf
JerikkLaureta26 views
Special_edition_innovator_2023.pdf by WillDavies22
Special_edition_innovator_2023.pdfSpecial_edition_innovator_2023.pdf
Special_edition_innovator_2023.pdf
WillDavies2217 views
Serverless computing with Google Cloud (2023-24) by wesley chun
Serverless computing with Google Cloud (2023-24)Serverless computing with Google Cloud (2023-24)
Serverless computing with Google Cloud (2023-24)
wesley chun11 views
Transcript: The Details of Description Techniques tips and tangents on altern... by BookNet Canada
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...
BookNet Canada136 views
Five Things You SHOULD Know About Postman by Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman33 views
Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely21 views

Serverless Design Patterns (London Dev Community)