Hi, welcome to another weekly update!
Observability without breaking the bank. In this post, I took a look at Thundra’s new sampling feature and how they can help prevent observability costs from spiralling out of control. Besides the rudimentary sampling methods such as by count and time interval, they also support more intelligent modes of sampling. Such as sampling invocations that are performing poorly or erroneous.
Canary deployment with LaunchDarkly and AWS Lambda. In this post, I introduced the basics of LaunchDarkly and how you can use it to implement canary deployments for AWS Lambda. I also discussed the limitations that you need to consider, such as the number of server connections you need. Fortunately, there are ways to work around these limits. For example, by using the LaunchDarkly-relay to cache feature toggles in DynamoDB. Here‘s a CloudFormation template to run the relay with AWS Fargate.
Since the last update, I gave the opening keynote at ServerlessDays Zurich. Where I gave a brief history of the evolution from on-premise to serverless and my views on where we are headed with serverless. The slides are available here:
I also had a great (and busy!) time at DevExperience in Iasi last week. I had two talks, a panel, a short interview and a workshop in two days… But it was worth it, and the organizers definitely went above and beyond to looked after us and cultivated a nice, sociable environment.
Craft Conf (Budapest, May 7th) – I’m running a one-day “Production-Ready Serverless” workshop. Where we will cover the basics of AWS Lambda and the serverless framework, API Gateway, Kinesis, testing, CI/CD, configuration management, security, logging and tracing. You can register here, hurry though, there are only 3 spaces left.
I can also provide this workshop as in-house training and can do a more in-depth two-day version that gives you more hands-on experience. Details are available here.
Enjoy what you’re reading? Subscribe to my newsletter and get more content on AWS and serverless technologies delivered straight to your inbox.
I’m an AWS Serverless Hero and the author of Production-Ready Serverless. I have run production workload at scale in AWS for nearly 10 years and I have been an architect or principal engineer with a variety of industries ranging from banking, e-commerce, sports streaming to mobile gaming. I currently work as an independent consultant focused on AWS and serverless.
In this course, we’ll cover everything you need to know to use AWS Step Functions service effectively. Including basic concepts, HTTP and event triggers, activities, design patterns and best practices.
Here is a complete list of all my posts on serverless and AWS Lambda. In the meantime, here are a few of my most popular blog posts.
- Lambda optimization tip – enable HTTP keep-alive
- You are thinking about serverless costs all wrong
- Many faced threats to Serverless security
- We can do better than percentile latencies
- I’m afraid you’re thinking about AWS Lambda cold starts all wrong
- Yubl’s road to Serverless
- AWS Lambda – should you have few monolithic functions or many single-purposed functions?
- AWS Lambda – compare coldstart time with different languages, memory and code sizes
- Guys, we’re doing pagination wrong