zlacker

[return to "On SQS"]
1. varela+Z9[view] [source] 2019-05-27 08:49:46
>>mpweih+(OP)
One important drawback of SQS is that it's eventually consistent, you can read the same message twice from different workers. Nevertheless we keep using it with additional checks when it's critical, it's still the cheapest solution by maintenance.
◧◩
2. lclark+yb[view] [source] 2019-05-27 09:11:28
>>varela+Z9
Making the processing of a message idempotent is the ideal way to handle that limitation
◧◩◪
3. cies+Ff[view] [source] 2019-05-27 10:06:59
>>lclark+yb
That's not always possible. Thus a big no-no for SQS if that's what you need. Concluding: SQS cannot replace RabbitMQ in all usecases.
◧◩◪◨
4. tybit+gh[view] [source] 2019-05-27 10:28:10
>>cies+Ff
If you’re message consumer isn’t idempotent then no MQ can help you. Exactly once delivery is impossible other than with at least once delivery and an idempotent consumer.

https://bravenewgeek.com/tag/amazon-sqs/

◧◩◪◨⬒
5. nkozyr+Rn[view] [source] 2019-05-27 11:52:03
>>tybit+gh
> Exactly once delivery is impossible other than with at least once delivery

Can you explain this? Don't many applications deliver once and only once via locking? It's obviously easier as an application developer to say "I will only get this once" and accept losing messages than dealing with idempotence particularly in distributed services.

◧◩◪◨⬒⬓
6. zackbl+Yw[view] [source] 2019-05-27 13:15:24
>>nkozyr+Rn
What if your server dies right as it's about to release that lock and mark the job done? How will you ever know if it was completed or not?
[go to top]