lua-resty-lock
lua-resty-lock copied to clipboard
Is this lock only for caching to shared memory?
For example, I use a worker-based cache. I get the data from redis and save it to the worker-level cache. I don't need a lock.For example, I get data from mysql and save it to the cache of the worker process. I don't need a lock.