Weekly update 27

Hi, welcome to another weekly update.

We welcome Trek10 as our sponsor for June!

It is my pleasure to welcome Trek10 as our sponsor for this month, let’s hear from them.

Serverless computing can seriously reduce TCO and time to market. But serverless is a new discipline. The best practices are emerging, and even large enterprises often struggle with some challenges:
– Laying foundations for serverless on AWS
– Migrating a legacy solution to Serverless
– Winning over serverless skeptics
– Shortening development cycles
– Identifying and avoiding common pitfalls
– Enabling teams for success
With numerous production serverless deployments under their belts, Trek10’s experts know how to deliver solutions that take full advantage of the AWS cloud: cost-effective, extensible, and low-maintenance serverless applications. Now, we’re bringing that expertise to you in the form of our Developer Acceleration solution. We’ll challenge your development team to re-examine their assumptions, empower them to take on new challenges, and level up your organization for sustained serverless success. Schedule your workshop today >> https://www.trek10.com/developer-acceleration/

New posts

A self-healing Kinesis function that adapts its throughput based on performance. In this post, I discussed how me and a client of mine tackled a challenge they had – how to make a Kinesis function adjust its own throughput at runtime. The client had an interesting requirement because of downstream constraints. We arrived at a solution that implements a circuit-breaker for the Kinesis function and let the function adapt its throughput carefully so to not overwhelm the downstream system.

ICYMI: five updates you’ve missed about Serverless Step Functions. This is a round up of the five biggest changes we have made to the serverless-step-functions plugin for the Serverless framework. If you’re using the Serverless framework and considering Step Functions then you should definitely check out the plugin. It can make your life so much easier when working with Step Functions. Also, check out my video course if you’re looking for a way to get started with Step Function!

How to log timed out Lambda invocations. In this post, I discussed an approach for logging error messages for when a function invocation times out. These time out errors are often hidden in the Invocation Error metric and are hard to debug. We have also published a middy middleware to make this really easy to apply to your functions.

Serverless courses

I want to take this opportunity to give a shout out to the folks at the Serverless framework. They did a good job and curated a list of video courses on serverless, which features courses on a variety of topics around serverless development and is well worth checking out!

Open source contributions

serverless-step-functions

We have made a number of updates in response to new AWS announcements and your feedback:

dazn-lambda-powertools

It’s been a long time coming, but we have finally open sourced some internal tooling we use to build observability into our Lambda functions. You can find the source code for the repo here.

The project is a collection of tightly integrated tools, including:

It has been the collaborative effort for several people at DAZN to bring this project to life and it’s now widely adopted inside DAZN. Many of you have asked us to open source it, and now it finally is! A more extensive write up is on the way, which would explain how everything fits together. In the meantime, please check out the project repo and give them a try!

Enjoy what you’re reading? Subscribe to my newsletter and get more content on AWS and serverless technologies delivered straight to your inbox.


Yan Cui

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.

You can contact me via Email, Twitter and LinkedIn.

Hire me.


Check out my new course, Complete Guide to AWS Step Functions.

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.

Get Your Copy