|
Boost : |
Subject: Re: [boost] [stldb] design details
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2010-01-07 19:00:12
Hi Bob,
Bob Walters wrote:
> Right now, the interaction between the containers and the rest
> of the transactional infrastructure is based off an approach
> inspired by the stasis library
> (http://tardis.cs.berkeley.edu/stasis/developers/html/main.html).
> There is a concept of a transactionally aware object. As
> modifiers on transactionally aware objects are called, those
> objects post 'TransactionalOperations' onto the transaction
> passed to them. These ops represent the means by which the
> transaction can ultimately commit or rollback that operation
> when the time comes.
Can you comment on the performance of this compared to a regular
std::map<> or other data structure? One potential benefit of memory
mapping - compared to e.g. an SQL database connection - is that you
should be able to get performance very close to regular
"in-application" data access.
Regards, Phil.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk