Amazon SQS
Fully managed message queues for microservices, distributed systems, and serverless applications.
Free Tier
1 million requests per month
Queue Types
Standard & FIFO
Max Message Size
256 KB
Throughput
Virtually unlimited
About Amazon SQS
Amazon SQS offers two types of message queues: Standard and FIFO. Standard queues provide maximum throughput, best-effort ordering, and at-least-once delivery, ideal for high-volume workloads. FIFO (First-In, First-Out) queues are designed for applications where event order is critical, guaranteeing exactly-once processing and preserving message sequence. SQS seamlessly integrates with other AWS services like Lambda, EC2, and SNS, enabling developers to build robust, scalable, and fault-tolerant distributed systems. It helps smooth out spiky workloads and improves application resilience by reliably storing messages for processing.
Core Features
Standard Queues
Offers maximum throughput, best-effort ordering, and at-least-once delivery.
Fifo Queues
Provides first-in, first-out delivery and exactly-once processing.
Server-Side Encryption (Sse)
Encrypts message bodies to protect sensitive data using AWS KMS.
Dead-Letter Queues (Dlq)
Isolate and handle messages that cannot be processed successfully.
Batch Operations
Send, receive, or delete messages in batches of up to 10 to reduce cost.
Common Use Cases
Decouple Microservices
Improve resilience and scalability by allowing microservices to communicate asynchronously.
Asynchronous Task Processing
Offload long-running tasks like video encoding or data processing to background workers.
Workload Balancing
Smooth out traffic spikes by queuing incoming requests and processing them at a steady rate.
Fanout Messaging
Combine with Amazon SNS to publish a message to multiple SQS queues simultaneously.