Interview Prep/AWS/DNS, CDN and Messaging

How do FIFO message group IDs and deduplication work?

AdvancedConceptDNS, CDN and Messaging
Answer

MessageGroupId defines the ordering scope: messages in one group are delivered in order to one consumer at a time, while different groups are processed in parallel. So a high-cardinality group ID (for example order ID) gives both ordering per entity and parallelism. MessageDeduplicationId (or content-based dedup using a SHA-256 of the body) drops duplicates sent within 5 minutes.

A single hot group ID serializes everything and becomes the throughput bottleneck, and a failed message blocks later messages in that group.

aws All AWS questions Roadmap: AWS core services

More on DNS, CDN and Messaging