zlacker

[return to "Show HN: WakaQ - a Python distributed task queue"]
1. captai+gG[view] [source] 2022-09-06 03:58:54
>>welder+(OP)
i made one as well called 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.

◧◩
2. welder+XL[view] [source] 2022-09-06 04:55:20
>>captai+gG
> i made one as well called 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.

◧◩◪
3. antman+qX[view] [source] 2022-09-06 06:39:15
>>welder+XL
I guess this should be on the FAQ
[go to top]