how lua script affects the effectiveness of redis?

前端 未结 0 618
死守一世寂寞
死守一世寂寞 2020-12-03 12:36

When we need Redis to do multiple actions in an atomic way, we ususally use lua script. For example

if get key > 0:
   decr key 1

my ques

相关标签:
回答
  • 消灭零回复
提交回复
热议问题