Scaling - SQS Flashcards
What is SQS?
Simple Query Service is a reliable, scalable message queuing service
What are some SQS features?
integrated with KMS; transient storage (default 4 days; max 14); support FIFO, 256Kb max message size; Java SQS SDK max message 2GB
What is MQ?
manage version of Apache ActiveMQ; message broker which takes in messages and send them to systems that need them. similar to SQS; HA within region; ActiveMQ API
MQ or SQS?
use SQS with new applications from scratch; use MQ to migrate from existing message brokers to AWS
What is FIFO?
region specific, 3K Messages ps, used when message order is important
What is standard queuing?
available in all regions, unlimited transactions ps, used when throughput is important
What are message attributes?
metadata(timestamps, geolocation, signatures, IDs) that can be configured to be sent with messages
price
You pay only for what you use; no minimum fee.
The cost of Amazon SQS is calculated per request, plus data transfer charges for data transferred out of Amazon SQS
Availability?
HA, redundant AZs
Security?
IAM for credentials; TLS/HTTPS for transport; AWS SSE for encrypted queues in select regions
SNS vs SQS
both AWS messaging services; SNS pushes time sensitive messages to subscribers eliminating polling, SQS uses polling (pull) send/Receiver messages