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