SQS (Simple Queue Service) و SNS (Simple Notification Service) هي خدمات مراسلة من AWS تمكّن من الاتصال غير المقترن والمتزامن بين مكونات التطبيق. SQS هي طابور رسائل (معالجة واحد إلى واحد)؛ SNS هي pub/sub (بث واحد إلى عدة).
SQS — طوابير الرسائل (فك الاقتران، المعالجة المتزامنة)
SQS is a managed message QUEUE: producers send messages, consumers process them:
→ producer → [QUEUE] → consumer(s) process messages (at their own pace)
→ DECOUPLES components (producer doesn't wait for/depend on the consumer)
→ BUFFERS load (queue absorbs spikes; consumers process steadily)
→ RELIABLE (messages persist until processed; retries; dead-letter queues for failures)
→ SCALABLE (add more consumers to process faster)
→ Use for: async task processing, decoupling services, smoothing load spikes
