I want to create a temporary sorted-set based on the origin one in a timer, maybe the interval is 4 hour, I'm using spring-data-redis api to do this.
ZUNIONSTORE tmp 2 A B AGGREGATE MAX
when the ZUNIONSTORE
commmand is executing, will it block any other commands like
ZADD
,ZREM
,ZRANGE
,ZINCRBY
based on the SortedSet A or B ? I don't know if this will cause
concurrency problems
, please give me some suggestions.