Is Redis ZADD or ZSCORE atomic? -
this question has answer here:
if 2 redis clients issue zadd or zscore commands concurrently, have race condition , mess set value? if not thread-safe, need protect commands lock, right?
i read zset api reference. maybe missed it, saw mentions thread-safety of zset commands.
i found answer here. redis single threaded , commands queued , serialized, there no parallel command execution worry about.
Comments
Post a Comment