<cut />
I haven't thought deeply about the implications for concurrent
writes, though. Is it possible to lock keys outside of a transactional context? If so,
this might be a solution for reading and writing.
No, it's not possible to lock anything out of transaction; the most
obvious reason is that there's no unlock() method, all acquired locks
are implicitly released at transaction commit.
Cheers,
Sanne
Cheers,
Olaf