On Sat, Aug 13, 2016 at 3:33 PM, Amirouche Boubekki
<address@hidden> wrote:
Based on a few tests wiredtiger is faster than berkeley db. You might
consider having a look at it.
https://framagit.org/a-guile-mind/guile-wiredtiger
I've looked at WiredTiger before - and this Guile integration looks
very nice - but I decided not to go any further with an integration
because it only supports (as far as I can tell) an optimistic
transactional concurrency model, and my belief is that game
application workloads are likely to benefit more from a pessimistic
model in which concurrent write locks on the same record are
serialized. That is to say, the restart-on-conflict workflow in an
optimistic model is expensive, so it's only worth it if you expect
write contention to be rare. If you expect it to be frequent, you're
going to waste a lot of CPU cycles re-executing transactional code.