[Moin-user] 1.5.1 NFS safe?
David Paul Zimmerman
dpz at ack.berkeley.edu
Fri Feb 3 14:33:50 EST 2006
On Feb 2, 2006, at 4:56 AM, Thomas Waldmann wrote:
>>> My hope is that moinmoin does nfs safe write locking of its data
>>> files since they'll be shared between the load balanced servers that
>>> way.
>
> I wouldn't recommend running moin over NFS for performance reasons
> (except if your NFS stuff is as fast as a usual local disk :)).
I'll have to presume so :-) (Actually, I think they have some
high-performance NFS product in back.)
> Locking is a good question. :)
>
> If we lock at all, we use some platform independant code supporting
> win32 and posix. See MoinMoin/util/lock.py for example. It is based on
> directory creation (and failure of that if there is already one with
> that name) and should work on all platforms.
>
> Some places still miss locking completely, but for usual use patterns,
> this is rarely a problem.
>
> Some places use own "locking" code (also base on usual filesystem
> operations) that rarely has problems.
Hm... I'll give lock.py a look. I'll also come up with a Plan B.
Thanks for the insight!
dp
More information about the Moin-user
mailing list