Closed cellcb closed 8 years ago
Yes, it's atomic operation :)
I USE JMETER testing pressure
DICT:INCR cant ensure is right
stop testing pressure dict:get(key) not fall
@cellcb All the shdict methods are atomic, regardless the number of your nginx worker processes or concurrency level. I'm having problems understanding your English. Sorry. I'm closing this.
hi i have a question about " CONN.LUA" ngx.shared.DICT.incr is atomic operation?
How to ensure “conn, err = dict:incr(key, -1)” is right
thank you