Chapters
Intro
Intro
0:00
Intro
0:00
Anatomy of an AWS Lambda function
Anatomy of an AWS Lambda function
1:23
Function lifecycle - worker host
Function lifecycle - worker host
6:41
Measuring with AWS X-Ray
Measuring with AWS X-Ray
7:38
X-Ray Trace Example
X-Ray Trace Example
8:40
X-Ray Trace Example
8:40
Three areas of performance
Three areas of performance
9:27
Function lifecycle - a warm start
Function lifecycle - a warm start
10:08
Function lifecycle - a full cold start
Function lifecycle - a full cold start
10:37
Cold starts - Execution environment
Cold starts - Execution environment
11:02
Lambda + VPC - Major performance improvement
Lambda + VPC - Major performance improvement
14:36
Cold starts - Static initialization
Cold starts - Static initialization
16:14
Provisioned Concurrency on AWS Lambda
Provisioned Concurrency on AWS Lambda
18:41
Function lifecycle: Provisioned Concurrency start
Function lifecycle: Provisioned Concurrency start
19:29
Function lifecycle: Provisioned Concurrency invoke
Function lifecycle: Provisioned Concurrency invoke
20:19
Provisioned Concurrency: Things to know
Provisioned Concurrency: Things to know
20:36
Provisioned Concurrency: Configuration
Provisioned Concurrency: Configuration
23:18
Provisioned Concurrency: Application Auto Scaling
Provisioned Concurrency: Application Auto Scaling
23:55
Resources allocation
Resources allocation
24:53
Resources allocation
24:53
CPU-bound example
CPU-bound example
25:43
CPU-bound example
25:43
Meet AWS Lambda Power Tuning
Meet AWS Lambda Power Tuning
26:56
AWS Lambda Power Tuning (input)
AWS Lambda Power Tuning (input)
28:13
AWS Lambda Power Tuning (visualization)
AWS Lambda Power Tuning (visualization)
31:09
Comparing x86 to Arm/Graviton2
Comparing x86 to Arm/Graviton2
31:46
CPU-bound (numpy: inverting 1500x1500 matrix)
CPU-bound (numpy: inverting 1500x1500 matrix)
33:29
CPU-bound (prime numbers)
CPU-bound (prime numbers)
34:07
Network-bound (third-party API call)
Network-bound (third-party API call)
34:59
Cost/performance patterns
Cost/performance patterns
36:47
Optimized dependency usage: (Node.js SDK & X-Ray)
Optimized dependency usage: (Node.js SDK & X-Ray)
38:11
Lazy initialization example: (Python & boto3)
Lazy initialization example: (Python & boto3)
38:52
Amazon RDS Proxy
Amazon RDS Proxy
39:40
Amazon RDS Proxy
39:40
Optimization best practices (performance/cost)
Optimization best practices (performance/cost)
40:40
Reusing connections with Keep-Alive
Reusing connections with Keep-Alive
42:05
The Lambda invocation model Synchronous Asynchronous Event source mapping request/response
The Lambda invocation model Synchronous Asynchronous Event source mapping request/response
43:28
Comparing sync and async
Comparing sync and async
44:29
Comparing sync and async
44:29
Lambda Performance - Summary
Lambda Performance - Summary
45:36
Sync to video time
Description
152Likes
7,123Views
2021Oct 25
- Understand how to allocate memory to optimize Lambda performance.
- Correct misconceptions about cold starts.
- Learn how to leverage new features to improve performance and reduce cost.
Transcript
Follow along using the transcript.
Show transcript
AWS Developers
1.74M subscribers
Transcript
NaN / NaN
40:02
Best Practices for Building Enterprise Grade APIs with Amazon API Gateway - AWS Online Tech Talks
AWS Developers
61K views • 6 years ago