lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2012-05-31 19:19, Matthieu Tourne wrote:

I'm using a Lua project (Nginx Lua module), which exposes a Nginx
rbtree in a shared memory segment.

[...]

But a memcache k/v interface is too limiting when writing complex data
structures.

Is there a way I could create a Lua table in shared memory, or expose
a table like interface so I could store Lua object in my shm segment ?

Did you look at http://wiki.nginx.org/HttpLuaModule#ngx.shared.DICT ?

--
Pierre Chapuis