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

Re: [xml-server] Re: PDOM implementation



Hi Zvi,

That's also something I am trying to figure out...

> 1. Transactions
> 
> IPSI PDOM have only write transaction ...
> 
> it modifies pages of nodes in memory,
> and commit method - flushes only modified pages back to disk.
> 
> They don't have read-only transactions,
> so when one thread modifies in memory pages,
> other thread can read it before commit ...

What do you mean ?
Don't they lock the pages or objects they are updating ?
What's happening is there are 2 concurrent updates on the same objects ?

I would also prefer to have some versioning : you lock the nodes you'll
update, you prepare a set of updated nodes from a copy of the existing
nodes and you replace the old ones by the new ones when you "commit"...

Eric

-- 
------------------------------------------------------------------------
Eric van der Vlist                                              Dyomedea

http://www.dyomedea.com                          http://www.ducotede.com
------------------------------------------------------------------------