3 ms·
i made one as well called SAQ! https://github.com/tobymao/saq https://github.com/tobymao/saq Looks like you use BLPOP, but there could be race conditions or l
by captaintobs 4y ago
i made one as well called SAQ!
https://github.com/tobymao/saq https://github.com/tobymao/saq
Looks like you use BLPOP, but there could be race conditions or lost jobs if your workers crash, check out BLMOVE and RPOPLPUSH.
- welder 4y ago> i made one as well called SAQ! https://github.com/tobymao/saq https://github.com/tobymao/saq Awesome! I'll check out your implementation. > Looks like you use BLPOP, but there could be race conditions or lost jobs if your workers crash, check out BLMOVE and RPOPLPUSH. I prefer ack-first (blpop) and designing the tasks to expect some amount of errors.
- antman 4y agoI guess this should be on the FAQ