kevy

BRPOPLPUSH

Blocking RPOPLPUSH: pop the source tail and push it onto the destination head.

SyntaxBRPOPLPUSH source destination timeout
Grouplist
Arity4
Since1.0.0
Flagswrite, blocking
ComplexityO(1) to serve
Redis compatibilitydiffers: a cross-shard move is not atomic — the element is popped on the source's shard and pushed on the destination's, and between those two steps it is in neither list. Co-locate the keys with a {hashtag} to get Redis's atomic path

← All commands