Hi All
I have used ngx.shared.DICT as the data cache on my business. Beacuse of high concurrency requests(2w qps) on 48 workers of nginx, I'm sensitived with shared DICT operations with atomic block.
I want to know when use ngx.shared.DICT.get/set, the atomic method block the specified key only, or the entire dict? for example:
Does the ngx.shared.DICT.set('a', 1) and ngx.shared.DICT.set('b', 2) could be run same time?
Does the ngx.shared.DICT.set('a', 1) and ngx.shared.DICT.get('b', 2) could be run same time?
Thx!