Boost logo

Boost :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-09-30 08:57:26


On 9/29/05, Calum Grant <calum_at_[hidden]> wrote:

I actually had a project a while back that did such a thing, and got
> some good benchmarks comparing MySQL vs file-mapped containers:
> http://lightwave.visula.org/persist/bench.html
> and I'm sure boost::shmem::allocator is similar. Performance is very
> good. We could devise a benchmark and I'll implement in RML +
> Persist/Shmem, you implement in SQLlite and we'll see the difference.

The one killer limitation of shmem (that I'm pretty sure Ion is working hard
to remove) is that the shared memory region cannot be grown once it has been
created. This is where your memory-mapped "persist" library has a leg up.

--
Caleb Epstein
caleb dot epstein at gmail dot com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk