For now, the simplest way to only retrieve an element once is to
1 GET KEY and then DEL KEY (network latency?)
2 or store it as an array / set, and then use LPOP / RPOP, (size?)
3 or even use GETSET. (more logic?)
I wish we can have atomic GETONCE to get and then del the key.
Comment From: Truth1984
7324
Comment From: madolson
@Truth1984 Is this the same as the issue you linked? If so, would prefer to close this and just +1 the other request to avoid duplicates.