Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32269 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17260 invoked by uid 1010); 11 Sep 2007 19:46:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17195 invoked from network); 11 Sep 2007 19:46:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Sep 2007 19:46:29 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.187 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.187 rv-out-0910.google.com Received: from [209.85.198.187] ([209.85.198.187:58065] helo=rv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/4E-33962-D80F6E64 for ; Tue, 11 Sep 2007 15:46:27 -0400 Received: by rv-out-0910.google.com with SMTP id k15so1457631rvb for ; Tue, 11 Sep 2007 12:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZQvbwzLE6dQGABsWTVFD9D95VwacZkcWVys2oFxVlg4=; b=nryPNOPpnF8ebOKaKJT5HtCu20Ok2hjaSefrH9YU9JaD/bIgBQWfOQql8GhaAso0yDpNCjADog1r3LUMbB6uU8PrQcKyWT2Is11X4o4TOu4VN6dDW4nAfzLspcsw0sASJUZoPUPpqkP4RQLXOfK5JFqEbHqK9Yxgl+oqEfrgLmE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h5uqnN4Rnlx4VTxhWWblmL3CftuAXOtcyt2689RbfPRYZk72P+WDQ4vv8H+Cq+TclebG6lZMzhUkNlmb9dLH4EU6H7jft5ejjgfFWiNjC72LbgLgWpa92DqQwYJLw2SRt5M/MBoc4xYdxfQcyT3bF+q0fkEtMlqZG26fCC4bD80= Received: by 10.141.146.11 with SMTP id y11mr2530500rvn.1189539954883; Tue, 11 Sep 2007 12:45:54 -0700 (PDT) Received: by 10.141.37.7 with HTTP; Tue, 11 Sep 2007 12:45:54 -0700 (PDT) Message-ID: Date: Tue, 11 Sep 2007 21:45:54 +0200 To: "Stanislav Malyshev" Cc: "Alexey Zakhlestin" , jani.taskinen@iki.fi, "Andi Gutmans" , "Ilia Alshanetsky" , "PHP Developers Mailing List" In-Reply-To: <46E6C3A6.7070309@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46E6C3A6.7070309@zend.com> Subject: Re: [PHP-DEV] new ini parser, caching From: pierre.php@gmail.com (Pierre) On 9/11/07, Stanislav Malyshev wrote: > > well, some OSes allow subscribing to the notifications from filesystem > > *bsd (including macos-x) use kqueue, linux and winnt have different > > mechanisms for the same thing > > The question is how expensive are those notifications - i.e. if one has > 1000 of them, will it be a trouble for the OS? It is not really related to the stat cache but it may need a clarification. The ini cache works on per directory basis and caches the entries found in the current dir and the parent directories. Once the TTL is over, it will check if there is a file in the current dir and its parent directory (until docroot), just like htaccess. Having this TTL reduces the performance impact drastically. For example, htscanner has it set to 5mins by default. For what I heard, many ISPs kept this default. Cheers, --Pierre