ExitPush vs. Pull and Event-Driven Architecture1 / 9
Explanationassociate9 steps · 4 exercises

Follow a file creation event

Distinguish what triggers processing from who initiates delivery, so a polling consumer is not mistaken for a system that is not event-driven.

An application keeps a file catalog up to date as uploads arrive. Instead of periodically scanning the bucket for new files, it reacts to object creation notifications. Each notification records that an object was created; it does not carry the file itself.

The architecture uses both push and pull. Follow the arrows to see where the event data goes. An arrow shows the direction the data travels, not necessarily who asked for it.

Pushed creation notificationPolled event messagesBatch invocationCatalog item write
Uploads bucketAmazon S3 bucket
Standard event queueAmazon Simple Queue Service (Amazon SQS)
Event source mappingAWS Lambda
File indexer functionAWS Lambda
File catalogAmazon DynamoDB table

Stage 1 of 6: An upload creates an object in the S3 bucket. That occurrence is what the catalog reacts to.

Next up: Trace a request on what you just read.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.