openresty / meta-lua-nginx-module

Meta Lua Nginx Module supporting both Http Lua Module and Stream Lua Module
66 stars 20 forks source link

can we share the shdict between http module and stream module #41

Open rainingmaster opened 6 years ago

rainingmaster commented 6 years ago

Can we use ngx_*_lua_shdict as a third party moduel, which applies for shdict from nginx. We can uses FFI to share memory to http module and stream module, instead of http or stream using its own memory only

turbo commented 5 years ago

This is a dupe of https://github.com/openresty/stream-lua-nginx-module/pull/36 and a few others. However, that PR doesn't work anymore.

I too really, really need this, even if it's hacky for the moment. @agentzh even if this is not (contrary to your statement in link above) on the roadmap, how can one achieve this today?

thibaultcha commented 4 years ago

Here is my proposal: https://github.com/openresty/meta-lua-nginx-module/pull/76

stallion5632 commented 4 years ago

Do you have time to merge this PR. @agentzh