"Fredrick Paul Eisele" <[EMAIL PROTECTED]> writes:

> I am considering using an xml file as a data repository.
> I would like to have concurrent processes reading and writing
> from the file with something analogous to the record locking
> capability of fcntl.
> 
> What would it take to create such an element locking mechanism?
> Allow locking on ids only with a separate mechanism to lock those ids?
> I am thinking about using an sql table to hold the ids and using that
> locking mechanism.

Hey Frederick Paul,

If you're going to use a DB anyway, why not just use a DB?

Reimplementing relational DB lock semantics in an XML file seems like
a castastrophic waste of valuable programmer time.

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to