Subject: Developers of Sympa
List archive
- From: Olivier Salaün - CRU <address@concealed>
- To: Kazuo Moriwaka <address@concealed>
- Cc: address@concealed
- Subject: Re: [sympa-dev] Is a lock need for /stats ?
- Date: Mon, 20 Jun 2005 11:50:41 +0200
You are right, we don't use locks while writing the stats file, mainly because Sympa has evolved and it was not initially designed initially for concurent access.
Currenlty sympa uses locks only while synchronizing members with external datasource because it can take some time. If we were adding lock magement for stats and config, we would probably use the same subroutines (tools::lock() and tools::unlock())
Kazuo Moriwaka wrote:
I want to use sympa on the NFS system. I'm not clear about sympa's internal
structures, yet.
I read savestats() function in List.pm. I cannot find any lock for writing
'/stats' file.
Is this OK? Or it should be fixed with LockFile::Simple module or any locking
system?
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-
[sympa-dev] Is a lock need for /stats ?,
Kazuo Moriwaka, 06/20/2005
-
Re: [sympa-dev] Is a lock need for /stats ?,
Olivier Salaün - CRU, 06/20/2005
-
Re: [sympa-dev] Is a lock need for /stats ?,
Kazuo Moriwaka, 06/20/2005
-
Re: [sympa-dev] Is a lock need for /stats ?,
Olivier Salaün - CRU, 06/20/2005
- Re: [sympa-dev] Is a lock need for /stats ?, Kazuo Moriwaka, 06/21/2005
-
Re: [sympa-dev] Is a lock need for /stats ?,
Olivier Salaün - CRU, 06/20/2005
-
Re: [sympa-dev] Is a lock need for /stats ?,
Kazuo Moriwaka, 06/20/2005
-
Re: [sympa-dev] Is a lock need for /stats ?,
Olivier Salaün - CRU, 06/20/2005
Archive powered by MHonArc 2.6.19+.