This issue was published on July 25, 2023
In this issue, AWS Lambda gets proactive on its initializations, local Lambda debugging takes a huge step in the right direction, and AWS Powertools gets an official thumbs up. Read the full issue...
Below are the most popular links from Issue #242 as chosen by our Off-by-none email subscribers. Sign up for the newsletter and help choose the most popular links each week!
Understanding AWS Lambda Proactive Initialization by AJ Stuyvenberg
In March 2023, AWS updated the documentation for the Lambda Function Lifecycle, and included this interesting new statement: āFor functions using unreserved (on-demand) concurrency, Lambda may proactively initialize a function instance, even if thereās no invocation.
Introducing samp-cli for local lambda debugging
"Ok, how do I run this thing locally", is the first thing most developers from a non-serverless background ask when they're tasked to work on a serverless stack.
Best practices for implementing event-driven architectures in your organization by emanuele levi
Event-driven architectures (EDA) are made up of components that detect business actions and changes in state, and encode this information in event notifications. Event-driven patterns are becoming more widespread in modern architectures because:
š Goodbye Cold Starts ā¤ļøHello Proactive Initialization
As described in AJ Stuyvenberg's post on the topic Understanding AWS Lambda Proactive Initialization, AWS Lambda may have solved some of your cold start issues for you since March 2023. Stated in an excerpt from AWS' docs:
Serverless and event-driven design thinking
In this post we will dig deep into how I design event-driven applications and services. What are the steps I normally do during the design. What events do we have? What services should we use? How do we tie everything together.
There are so many great blog posts, tutorials, use cases, and more shared each week by the #serverless community, that picking just a few to feature is really hard. So here are some other honorable mentions chosen by our readers.
Adopting Hexagonal Architecture in Serverless by Ivano GarcĆa
Hexagonal Architecture, also known as Ports and Adapters, is an architectural pattern aimed at creating a decoupled and easily testable system. This pattern is especially useful in complex projects where the business logic needs to be isolated from the infrastructure layer and technical details.
AWS Fargate enables faster container startup using Seekable OCI
Customers running applications on Amazon Elastic Container Service (ECS) with AWS Fargate can now leverage Seekable OCI (SOCI), a technology open sourced by AWS that helps applications deploy and scale out faster by enabling the containers to start without waiting for the entire container image to b
AWS Lambda and Amazon EventBridge Pipes now support enhanced filtering
AWS Lambda event source mappings and Amazon EventBridge Pipes sources now support additional filtering capabilities including the ability to match against characters at the end of a value (suffix filtering), to ignore case sensitivity (equals-ignore-case), and to have a single rule match if any cond
Stay up to date on using serverless to build modern applications in the cloud. Get insights from experts, product releases, industry happenings, tutorials and much more, every week!
Check out all our amazing sponsors and find out how you can sponsor an issue.
Jeremy is the CEO and Founder of Ampt and an AWS Serverless Hero that has a soft spot for helping people solve problems using serverless. He frequently consults with companies and developers transitioning away from the traditional āserver-fullā approach. You can find him ranting about serverless on Twitter, in several forums and Slack groups, hosting the Serverless Chats podcast, and at conferences around the world.
Off-by-none is committed to celebrating the diversity of the serverless community and recognizing the people who make it awesome. If you know of someone doing amazing things with serverless, please nominate them to be a Serverless Star āļø!