X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 77CC2329F89 for ; Mon, 27 Sep 2004 21:21:53 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 24746-05 for ; Mon, 27 Sep 2004 20:21:46 +0000 (GMT) Received: from bayswater1.ymogen.net (host-154-240-27-217.pobox.net.uk [217.27.240.154]) by svr1.postgresql.org (Postfix) with ESMTP id E8533329EE0 for ; Mon, 27 Sep 2004 21:21:46 +0100 (BST) Received: from [82.68.132.233] (82-68-132-233.dsl.in-addr.zen.co.uk [82.68.132.233]) by bayswater1.ymogen.net (Postfix) with ESMTP id 1EA959E36A; Mon, 27 Sep 2004 21:21:46 +0100 (BST) Message-ID: <415875C0.3010805@ymogen.net> Date: Mon, 27 Sep 2004 21:19:12 +0100 From: Matt Clark User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mitch Pirtle Cc: pgsql-performance@postgresql.org Subject: Re: Caching of Queries References: <00e801c4a4b6$5526dd30$8300a8c0@solent> <330532b604092711591491303a@mail.gmail.com> In-Reply-To: <330532b604092711591491303a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/294 X-Sequence-Number: 8422 >Basically you set a default in seconds for the HTML results to be >cached, and then have triggers set that force the cache to regenerate >(whenever CRUD happens to the content, for example). > >Can't speak for Perl/Python/Ruby/.Net/Java, but Cache_Lite sure made a >believer out of me! > > > Nice to have it in a library, but if you want to be that simplistic then it's easy in any language. What if a process on server B modifies a n important value that server A has cached though? Coherency (albeit that the client may choose to not use it) is a must for a general solution.