AWS-SQS
AWS SQS (EDI) is Amazon Simple Queue Service — a large-scale distributed message-queue service, two modes (Standard at-least-once, FIFO exactly-once-per-group), used to decouple EDI producer from ERP consumer.
Definition
SQS Standard offers near-infinite throughput with at-least-once guarantee and best-effort ordering. SQS FIFO guarantees ordering by MessageGroupId and exactly-once-processing within a 5-minute window. Dead-Letter Queue (DLQ) captures messages that fail after N attempts.
Origin
Launched in July 2006, one of the three original AWS services with EC2 and S3. SQS FIFO added in 2016.
Use
A B2B gateway publishes each received ASN to a FIFO SQS with MessageGroupId = trading-partner-id. The ERP consumer processes ASNs in order per partner. On failure, the DLQ allows manual replay.
Related terms
- S3 — events source.
- Azure Service Bus — Azure counterpart.
- GCP Pub/Sub — GCP counterpart.
- Backpressure (EDI) — related concept.