in reply to Re: Perl Hash vs BerkeleyDB vs MySQL
in thread Perl's Hash vs BerkeleyDB vs MySQL

Managed concurrent access
What do you mean by that Corion? This is the first time I heard about this term.
You are saying Perl can't achieve that also?

Regards,
Edward

Replies are listed 'Best First'.
Re^3: Perl Hash vs BerkeleyDB vs MySQL
by Corion (Patriarch) on May 09, 2006 at 06:51 UTC

    By concurrent access I mean two or more programs writing to the file virtually at the same time.

    BerkeleyDB knows how to lock and unlock the database so that only one program modifies the database at one time and the file doesn't get corrupted. When BerkeleyDB manages the writing, I don't need to worry about this in my programs - and file locking is easy to get wrong. The only thing I have to worry about is when two programs modify the same value at the same time, but that's something I have to think about anyway.