Lists
Keep ordered items or let a worker remove the next available job.
RPUSH jobs:images resize:42 resize:43
LRANGE jobs:images 0 -1
LPOP jobs:images
BLPOP jobs:images 5 waits up to five seconds for an item. A successful pop removes the item; if the worker then
crashes, the list does not automatically redeliver it.
Use LMOVE when you need to move an item into a processing list, with application logic to track completion and recover
abandoned work. Use streams for a consumer-group pending-entry workflow.
With several workers, all access the same queue key through their own local endpoints. Shared operations have distributed costs; read queue patterns before depending on failure guarantees.
See list commands.