Tag: Lambda
-
Serverless OpenTelemetry at scale: generating traces
In the second installment of the Serverless OpenTelemetry at scale series we will look at the way we generate and propagate telemetry in a serverless environment.
-
Evolve data structures in NoSQL with Python data models
This article explores design patterns to support backward compatibility when evolving your DynamoDB data structures.
-
Creating a serverless Re:Invent session tracker
If you’ve ever attended Re:Invent, you’ll know that keeping track of which sessions to attend is extremely difficult. To stay ahead of the game, I built a session tracker. And of course, it’s serverless. In this article I’ll highlight the more interesting design decisions.
-
Authorizing cross-account KMS access with aliases
KMS aliases are a great way to make KMS keys more convenient. But permitting one account to use an KMS key in another account through a KMS alias can be difficult. This article explains why, and how to solve the problem correctly. Let’s start with the example shown in the diagram above. Account B has…
-
Implement the Priority Queue Pattern with SQS and Lambda
A queue is a buffer for constrained resources. A priority queue is an additional queue that should be emptied first, even when the main queue has millions of items on it. This allows important messages to be processed quickly, regardless of system load. In this article, we will show how to implement the priority queue…
-
When is the Lambda Init Phase Free, and when is it Billed?
This article will demystify when the AWS Lambda init duration is free, and when it is billed.
-
Lambda Cold Starts and Bootstrap Code
In this article we will explore the lambda bootstrap code and its effects on cold starts.
-
Async Lambda Function Retries with Backoff and Jitter
In this post we’ll implement a custom async Lambda retry handler with exponential backoff, full jitter, and delays up to 12 hours.
-
The 9 Ways an SQS Message can be Deleted
Over the years many features and integrations have been added to SQS. Some of these features introduce new, and sometimes surprising, ways for a message to disappear. In this article we will look at nine ways a message can be removed from an SQS queue.
-
Anonymous User Identities with Cognito Lambda Triggers
In this article we will use Cognito Lambda Triggers to avoid personally identifiable information (PII) altogether, allowing for completely anonymous user sign-ups.
-
Filter DynamoDB Event Streams Sent to Lambda
Event Source Mappings are the invisible engine converting streams and queues to batches. In this article we will dive deep on Event Source Mappings and its filtering capabilities.