The Serverless Spotlight

The Serverless Spotlight

Share this post

The Serverless Spotlight
The Serverless Spotlight
Using DynamoDB Streams Vs Updating Data In A Transaction
Copy link
Facebook
Email
Notes
More

Using DynamoDB Streams Vs Updating Data In A Transaction

When to choose between event driven updating vs updating data directly in a transaction

Uriel Bitton's avatar
Uriel Bitton
Jun 08, 2025
∙ Paid

Share this post

The Serverless Spotlight
The Serverless Spotlight
Using DynamoDB Streams Vs Updating Data In A Transaction
Copy link
Facebook
Email
Notes
More
Share

When designing your DynamoDB queries one choice you will often face is whether to update data in transaction or let a change stream event update the data asynchronously.

Take the following scenario:

A user adds a comment to a post and sends a notification item to the author.

In this case, you can go about implementing this feature in 2 ways:

  1. Use a transacti…

Keep reading with a 7-day free trial

Subscribe to The Serverless Spotlight to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Uriel Bitton
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More