SQS (Simple Queue Service) ve SNS (Simple Notification Service), uygulama bileşenleri arasında ayrıştırılmış, asynchronous iletişimi sağlayan AWS mesajlaşma servisleridir. SQS bir mesaj kuyruğudur (bire-bir işleme); SNS pub/sub'tır (bire-çok yayın).
SQS — mesaj kuyrukları (ayrıştırma, async işleme)
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
