Re: Re: Pear::Cache lock files
| From: | Christian Stocker | Date: | Thu, 14 Feb 2002 12:55:50 +0000 |
| Subject: | Re: Re: Pear::Cache lock files | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4705@lists.php.net to get a copy of this message | ||
On Thu, 14 Feb 2002, Thomas Chille wrote:
> Hi Vinai,
>
> your workaround sounds tricky and i think it
> would also solve my problems(if any occurs).
>
> i dont know how importend is my opinion,
> cause i'm new in the list but i think:
>
> i love the pear-philosophy to create easy to use
> reuseable standard classes that i could find at
> one place in the www..
> so im my opinion you should share your excperience
> with manual lemos (see message before).
>
> i would prefer a solution wich could handle different
> kind of solutions. it means the user can choose between
> flock()-, semaphore- or your workaround- style to
> prevent data corruption .
good idea. but especially for something like a cache class, performance is
very important, so i would say: KISS (keep it simple stupid ... )
that does not say, that i think, it doesn't need file locking :)
chregu