When to use delay queue feature of Amazon SQS?

Question:

I understand the concept of delay queue of Amazon SQS, but I wonder why it is useful.
What’s the usage of SQS delay queue?
Thanks

Answer:

One use case which i can think of is usage in distributed applications which have eventual consistency semantics. The system consuming the message may have an dependency like a co-relation identifier to be available and hence may need to wait for certain guaranteed duration of time before seeing the co-relation data. In this case, it makes sense for the message to be delayed for certain duration of time.

Leave a Reply