lua-users home
lua-l archive

Re: Lua table in a shared memory segment

[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

AltStyle によって変換されたページ (->オリジナル) /