On Thu, May 6, 2010 at 11:45 AM, Jan Kotek <openco...@gmail.com> wrote:
> Hi,
>
> I am not sure extending transaction support and concurrency is way to go.
> There is many solutions which already have this (Valdemord, HBase...).
> I think JDBM should be kept as very simple basic storage.
> In fact I would like to promote JDBM as 'persistent Map'.

I was guessing the original focus of the project was to produce
something similar to Berkeley DB:
http://www.oracle.com/database/berkeley-db/index.html . Which is a
pretty simple storage product, but does support JTA.

Something as simple as this would be a huge improvement:

1. Create a new HTree (the transaction log) at the start of a transaction
2. All reads in the current TX would go to the transaction HTree, then
to the master HTree.
3. Upon prepare, write prepare record.
4. Upon commit, lock the master HTree, copy all changes to the master
HTree, delete log.

I suppose this could be done under a separate project. Still, it'd be
nice to have something integrated as with Berkeley DB.

------------------------------------------------------------------------------

_______________________________________________
Jdbm-developer mailing list
Jdbm-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jdbm-developer

Reply via email to