Design High-Performing Architectures

An application must process each customer's updates in order while processing different customers concurrently. Producers send updates in order to one Amazon SQS FIFO queue; how should message groups and consumers be configured?

Show the answer

Correct answerC. Use each customer's ID as the message group ID and multiple consumers.

AWhy not this: Deduplication IDs prevent duplicate sends; they do not define ordering groups or provide concurrent processing.

BWhy not this: Separate groups for individual updates do not preserve processing order across a customer's updates.

CWhy this is right: Grouping by customer preserves that customer's update order while allowing other customer groups to progress independently.

DWhy not this: One shared message group serializes processing across customers rather than allowing customer-level concurrency.

SQS FIFO preserves ordering within each message group while allowing different groups to be processed concurrently. A unique group for every update permits updates for the same customer to be processed out of order.