ngx.shared.DICT serialize / deserialize
joel.parker.gm at gmail.com
Thu Nov 9 20:19:14 UTC 2017
I am trying to load a table from disk (deserialize) into memory and then
add, change, remove the values in the table then write it periodically back
to disk (serialize). I looked at the documentation for the ngx.shared.DICT (
https://github.com/openresty/lua-nginx-module#ngxshareddict) and it seems
like it would fit my needs but I do not see anywhere in the documentation
how to load the table initially from disk and modify then write back to
disk. Could someone provide a basic example of how I might accomplish this ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx