Paul Lindner wrote:
>
> > I'm puzzled why people wouldn't just use version 3 of Berkeley DB (via
> > DB_File.pm or BerkeleyDB.pm) which supports multiple readers and
> > writers through a shared memory cache. No open/close/flush required
> > per-write and very very much faster.
> >
> > Is there a reason I'm missing?
>
> Might MLDBM::Sync work over an NFS mounted partition? That's one
> reason I've not used the BerkeleyDB stuff yet..
>
Kinda, but only in SDBM_File mode like Apache::ASP state.
Kinda, because flock() doesn't work over NFS, and that other
patch we worked with that called NFS locking didn't work
when I load tested it. I've heard that a samba share might
support file locking transparently, but have yet to test this.
MLDBM::Sync uses a similar method that Apache::ASP::State does
to keep data synced. In an NFS environment, whether data gets
committed is a matter of chance of collision.
--Joshua
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]