[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: another try at multithreading
- From: Alex Sandro Queiroz e Silva <asandroq@...>
- Date: Fri, 20 Jun 2008 15:52:28 -0300
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.