News for hackers. Stuff that matters.
Re:Do you really need Redis? How to get away with just Postg... by cbo100 on Saturday June 12, 2021 @08:29AM (#27483991)
Same for any queuing system. You need to set the expiry time long enough for the expected task duration.

In SQS, for example, you use a visibility timeout set high enough that you will have time to finish the job and delete the message before SQS hand it off to another reader.

You won’t always finish in time though, so ideally jobs are idempotent.

There are no comments on this comment yet.