lua-resty-lrucache
lua-resty-lrucache copied to clipboard
question: Does lua-resty-lrucache's get/set method are atomic operations?
Does lua-resty-lrucache's get/set method are atomic operations?
In same worker process, Does this happen: lrucache key X store a string, two request get and set lrucache sametime, get not complete X value.
yes, they are atomic operations.