Back to articles
Master Amazon SQS in One Page

Master Amazon SQS in One Page

via Dev.toChisom Ejiba

At a buka, nobody is taking your order number. The mama serving jollof doesn't care who came first. She's scooping for whoever is closest, loud, or holding their plate out furthest. You might wait five minutes. Someone who arrived after you gets served first. If you wait patiently, you still get your food. Speed is the whole point. But at GTBank or Access Bank? Try telling the teller to process your withdrawal before your transfer has cleared. What do you think will happen? Order matters there. Sequence is everything. This is exactly the difference between SQS Standard queues and SQS FIFO queues. Standard queues are the buka model. Messages go in, messages come out. fast, at scale, in whatever order the system can manage. Sometimes a message is delivered more than once. The order is not guaranteed. It's actually a feature, a deliberate trade-off for speed and volume. When order doesn't matter, Standard is what you want. → Sending OTP notifications to users? Any order is fine. → Resizin

Continue reading on Dev.to

Opens in a new tab

Read Full Article
6 views

Related Articles