lua-resty-limit-traffic icon indicating copy to clipboard operation
lua-resty-limit-traffic copied to clipboard

Is there any performance issue if every request interact with ngx.shared.dict

Open fankeke opened this issue 4 years ago • 1 comments

eg: shm:set() / shm:get() in every request lifetime.

fankeke avatar Jul 05 '20 12:07 fankeke

Shdict operations are mostly inexpensive in real world. You could benchmark it if performance is critical to your API.

spacewander avatar Jul 06 '20 01:07 spacewander