![[Report] I Attended the Session on Rebuilding Polling into an Event-Driven Architecture with DynamoDB Streams and Lambda #AWSreInvent #COM202](https://devio2024-media.developers.io/image/upload/f_auto,q_auto/c_limit,w_1200/v1796065673/eyecatch/xw5jr5b9agc6qjxlknmg.png)
[Report] I Attended the Session on Rebuilding Polling into an Event-Driven Architecture with DynamoDB Streams and Lambda #AWSreInvent #COM202
This page has been translated by machine translation. View original
Introduction
Hello everyone, this is Akaike.
I'm attending AWS re:Invent 2026, and I listened to a session called "Rebuilding a Platform's Foundation on DynamoDB Streams and Lambda."
When you want to reflect data changes on a screen, do you ever end up just implementing polling that periodically checks the database? I do.
Using a delivery driver tracking dashboard as an example, this session explained the process of rebuilding from polling, to direct updates, and then to an event-driven design with DynamoDB Streams and Lambda, as well as how to think about monitoring afterward, so I've summarized the content.
Session Overview
Title
Rebuilding a Platform's Foundation on DynamoDB Streams and Lambda (COM202)
Abstract
Our platform had single points of failure baked into its original design. In this session, I walk through how we closed those gaps across all five AWS Well-Architected pillars: moving event-driven workloads onto DynamoDB Streams and Lambda, cutting costs through smarter data tiering, and building the observability needed to trust the new design under real operational pressure.
Our platform had single points of failure from the original design stage. In this session, I explain how we resolved these issues across all five pillars of the AWS Well-Architected Framework: migrating event-driven workloads to DynamoDB Streams and Lambda, reducing costs through smarter data tiering, and building the observability needed to trust the new design under real operational load.
Speaker
- Awedis Keofteian (Senior DevOps Engineer, AWS Community Hero)
Session Information
- Level: 200 - Intermediate
- Session type: Lightning talk
- Topic: Architecture
- Related services
- AWS Lambda
- AWS WAF
- Amazon Elastic Container Service (Amazon ECS)

Note:
The slides showed "COM352," but the ID in the session catalog was COM202.
Session Content
Agenda

The session was structured as follows.
- The Problem with the Old Approach: Problems with the conventional method
- A Smarter Way to Handle Changes: A better way to handle changes
- Ensure the Observability: Ensuring observability
- Rebuilding the Foundation, Not Just Patching the Symptoms: Rebuilding from the foundation rather than just treating symptoms
The Dashboard Used as the Example

Let's say you're building a driver tracking dashboard for operations. How would you keep the dashboard updated without using DynamoDB Streams?
(Suppose you're building a dashboard for tracking drivers for the operations team. How would you keep the dashboard up to date without using DynamoDB Streams?)
Every time a driver picks up or delivers a package, they update the status.
The assumption is that, behind the scenes, the operations team watches the dashboard and tracks the drivers' locations and statuses.
Three Approaches

Three approaches for updating the dashboard were introduced in order.
Version 1: Polling
This is a method where the dashboard checks the database for updates at regular intervals (for example, every 30 seconds).
It's the method many developers choose first, and its advantage is that it's simple to implement.
On the other hand, it reads the database every time even when nothing has changed, so it wastes read capacity.
Also, as the dashboard's features grow, the polling code grows too.
Version 2: Direct Updates
This is a method where, when a driver updates the status, the application service updates both DynamoDB and the dashboard at the same time.
Polling goes away, and changes are reflected on the dashboard immediately.
However, the components become tightly coupled.
If an update fails partway through, it won't be reflected on the dashboard.
It also becomes difficult to add more recipients of updates.
For example, if you want to add a customer-facing dashboard, you need to add that update logic to the application service as well.
Version 3: Event-Driven
This is a method where changes in DynamoDB are received via DynamoDB Streams, processed by a Lambda function, and used to update the dashboard.
The slide described it as "letting changes propagate on their own."
- React to data changes with Streams
- Results in a loosely coupled architecture
- Makes it easy to add more recipients of updates
The status update is complete as soon as it's written to DynamoDB, and the dashboard update is done afterward by a Lambda function, so the two processes are separated.
If you want to add a customer-facing dashboard, you just need to add a new Lambda function.
Unnecessary reads caused by polling also disappear, so read capacity consumption goes down as well.
On the other hand, the speaker also listed the following drawbacks.
- You need to properly build how to handle failures when processing events
- Because of the separation, there are now two places where failures can occur, and errors must be handled in each
- Monitoring and operations become more complex
Monitoring After Going Event-Driven

The next challenge: processing events is great, but how do we know everything is working?
(The next challenge: processing with events is fine, but how do we know everything is working correctly?)
Because the system is loosely coupled, tracking errors and load becomes harder.
So next, there was an explanation of how to ensure observability.

The slide title was "No More Flying Blind," and it introduced four mechanisms to avoid operating without visibility.
| Item | Details |
|---|---|
| Lambda errors | To capture failed records, configure an on-failure destination or an SQS dead-letter queue (DLQ) |
| CloudWatch Logs | Log the event ID, delivery ID, processing status, and errors |
| Metrics and dashboards | Use FailedInvocations to see events that failed to process |
| Alarms | Use the IteratorAge metric to raise an alarm when the processing delay of the stream exceeds an acceptable threshold |
Regarding logs, the speaker said that in a loosely coupled architecture, always including a unique ID passed between events makes troubleshooting easier.
Changes Seen Through the Five Pillars of Well-Architected


Finally, the speaker reflected on this rebuild by applying it to the five pillars of AWS Well-Architected.
| Pillar | Change |
|---|---|
| Operational Excellence | Delivery event processing can be tracked with CloudWatch Logs |
| Security | It wasn't the main goal, but it turned out to be a valuable improvement |
| Reliability | Processing failures can be handled with retry and recovery mechanisms |
| Performance Efficiency | No longer need to repeatedly poll DynamoDB to check for changes |
| Cost Optimization | Unnecessary database reads caused by polling can be reduced |
Regarding Operational Excellence, whereas polling produced a large number of errors with unclear causes, with the event-driven approach they became able to directly see which Lambda function was failing.
Regarding Security, the explanation was along the lines that since each Lambda function is responsible only for a specific process, it also becomes easier to separate permissions.
Conclusion
That was the report on the "Rebuilding a Platform's Foundation on DynamoDB Streams and Lambda" session.
It walked through, in order, the reasons for moving to an event-driven design with DynamoDB Streams and Lambda, and even the monitoring that becomes necessary after the move.
Personally, the following points were especially impressive.
- Comparing polling, direct updates, and event-driven step by step
- Each approach's drawbacks became the reason to choose the next one, so this seems directly usable when explaining the rationale for choosing event-driven
- Clearly stating the drawbacks of event-driven as well
- Going loosely coupled isn't the end of the story; you need to build out error handling and monitoring, and I want to remember this when considering a migration
- Showing even the concrete monitoring settings
- A DLQ or on-failure destination,
FailedInvocations, and anIteratorAgealarm feel like settings you'd want in place first if you use DynamoDB Streams and Lambda
- A DLQ or on-failure destination,
If you have a setup that updates screens by polling DynamoDB, it may be worth considering replacing it with Streams.
