lua-users home
lua-l archive

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


Hallo,

Doug Currie wrote:

Could an in-memory SQLite database be used to efficiently provide shared Lua-semantics tables? I have not benchmarked (or coded!) this, so it is just a fantasy. SQLite now provides shared cache, optional read non-committed transactions for high levels of concurrency in a single address space. This probably does not scale particularly well to networked clusters (though it would work).


Why not try it with Javier's lock-free hash tables? Use it as a light userdata first, add some C primitives callable from Lua, and use it from different Lua states.

-alex
http://www.ventonegro.org/