SET my_key my_value NX PX milliseconds
如何优雅地用Redis实现分布式锁?
https://www.cnblogs.com/ibigboy/p/13297215.html