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 ?
Joel
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
