[LRUG] Chat Digest, Vol 68, Issue 14

Gavin Heavyside gavin at heavyside.co.uk
Thu Sep 8 01:20:24 PDT 2011


On 7 September 2011 22:36, Sam Livingston-Gray <geeksam at gmail.com> wrote:
> to pop a job off the queue and then die.  I don't recall whether
> Resque pops jobs off of one queue and pushes them onto a different "in
> progress" queue, but even if it does, Redis doesn't offer that as an
> atomic operation, so it would be possible to lose a job in that
> handoff.  Second, Redis itself could lose data if it crashes before

Redis does offer this as an atomic operation
(http://redis.io/commands/rpoplpush), but Resque doesn't currently use
it.



More information about the Chat mailing list