Posts by Yan Cui

Yan Cui is an AWS Serverless Hero and Lumigo Developer Advocate. He is the author of Production-Ready Serverless.

Serverless Observability: Lumigo or AWS X-Ray
Observability is a measure of how well we are able to infer the internal state...
Lessons Learned From Running Serverless In Production For 5 Years
I have been an AWS customer since 2010 and in the early days I, along...
Testing strategies for Step Functions
AWS Step Functions is a powerful orchestration service that lets you model even the most...
Lambda Extensions Just Got Even Better
AWS announced AWS Lambda Extensions back in October 2020 and I wrote extensively about it...
3 Major Ways To Improve AWS Lambda Performance
When it comes to performance, AWS Lambda gives you a single configuration to control the...
Amazon Builders' Library in Focus #6: Implementing Health Checks
In our latest article on the Amazon Builders’ Library, Yan Cui highlights the main takeaways...
Amazon Builders' Library in focus #5: Static stability using availability zones
Next in our series on the Amazon Builders’ Library, Yan Cui picks out the key...
Amazon Builders' Library in focus #4: Avoiding insurmountable queue backlogs
In the latest article in our series focusing on the Amazon Builders’ Library, Yan Cui...
Amazon Builders’ Library in focus #3: Avoiding fallback in distributed systems
In the third of our series of articles, Yan Cui highlights the key insights from...
Amazon Builders’ Library in focus #2: Using load shedding to avoid overload
In the second of our new series of posts, Yan Cui highlights the key insights...
Amazon Builders’ Library in focus #1: Timeouts, retries, and backoff with jitter
In the first article in our new series, Yan Cui highlights the key insights from...
AWS Lambda Provisioned Concurrency: The End of Cold Starts
What Is Provisioned Concurrency? Amazon Lambda is a serverless runtime that offers provisioned concurrency, which...
The why, when and how of AWS API Gateway service proxies
Serverless Hero Yan Cui explains when and why you should use AWS API Gateway service...
Monitor Lambda cold start durations with CloudWatch
When you look at an X-Ray trace for a Lambda cold start, you will see...
Introducing the lumigo-cli
Here at Lumigo, we are big fans of serverless. And a big part of working...
Top 10 best practices for serverless.yml
The Serverless Framework is one of the oldest (and still going strong!) deployment frameworks around...
The best reason to use AWS DynamoDB streams
Many clients have asked me, “When do I use AWS DynamoDB streams vs Kinesis?” It’s...
A SAR app to propagate CloudFormation tags to unsupported resources
Did you know that CloudFormation tags don't automatically propagate to some resource types? Chief among...
Serverless Framework Plugin: Get Instant Visibility
Observability is a common challenge for serverless applications and we believe Lumigo is perfectly positioned...
SQS and Lambda: a Quick Tutorial and How to Handle Failure Modes
How do SQS and Lambda Work Together? Amazon SQS is a lightweight, fully-managed message queueing...
CloudWatch Logs for AWS Lambda: Getting Insights About Your Serverless Deployment
AWS CloudWatch is a powerful tool, but it can be tricky to use it for...
Amazon EventBridge: a new era of SaaS integration
Amazon recently announced EventBridge to much fanfare. Although, in truth, it’s a rebranding of the...
Serverless app to speed up all your Lambda functions
A while back, I wrote about how you can shave latency off every AWS SDK...
Lambda and Kinesis - beware of hot streams
Back in 2017, I wrote a post titled “3 pro tips for Developers working with...
You are wrong about serverless vendor lock-in
Some time ago, the Register published an article titled “Lambda and serverless is one of...
Mono-repo vs one-per-service
With AWS Lambda, we can deploy and scale individual functions. However, we engineers still like...
Canary Deployment with LaunchDarkly and AWS Lambda
LaunchDarkly has built an impressive feature flag management system that overages more than 200 billion...
AWS Lambda Use Cases: When to use Lambda layers
AWS introduced Lambda Layers at re:invent 2018 as a way to share code and data...
AWS Lambda apps to automate chores around CloudWatch Logs
The open source applications described in this article are available from Lumigo's Github repository. If...
An AWS Lambda app to clean up old deployment packages
AWS Lambda has a soft limit of 75GB for deployment packages for all your functions...