[Top][All Lists]

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

Re: [ANN] gzochi project development release 0.10

From: Julian Graham
Subject: Re: [ANN] gzochi project development release 0.10
Date: Sat, 13 Aug 2016 19:23:36 -0400

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.

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.

However, that's just my intuition: If you'd like to integrate it and
test it out, the storage engine SPI is easy to implement!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]