From torque-dev-return-4548-apmail-db-torque-dev-archive=db.apache.org@db.apache.org Thu Oct 07 07:21:50 2004 Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 54976 invoked from network); 7 Oct 2004 07:21:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Oct 2004 07:21:50 -0000 Received: (qmail 71415 invoked by uid 500); 7 Oct 2004 07:21:49 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 71230 invoked by uid 500); 7 Oct 2004 07:21:47 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 71215 invoked by uid 99); 7 Oct 2004 07:21:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [194.94.251.54] (HELO gate-mail.tewisoft.de) (194.94.251.54) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 07 Oct 2004 00:21:45 -0700 Received: from localhost (localhost [127.0.0.1]) by gate-mail.tewisoft.de (Postfix) with ESMTP id AA0A5129A2 for ; Thu, 7 Oct 2004 09:21:44 +0200 (CEST) Received: from gate-mail.tewisoft.de (localhost [127.0.0.1]) by localhost (AvMailGate-2.0.1.16) id 23551-06587996; Thu, 07 Oct 2004 09:21:44 +0200 Received: from mail.tewisoft.de (unknown [192.168.20.18]) by gate-mail.tewisoft.de (Postfix) with ESMTP id 939A87CD3 for ; Thu, 7 Oct 2004 09:21:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.tewisoft.de (Mailserver TeWiSoft GmbH) with ESMTP id 540E15BEE47; Thu, 7 Oct 2004 09:21:41 +0200 (CEST) Received: from mail.tewisoft.de (localhost [127.0.0.1]) by localhost (AvMailGate-2.0.1.16) id 01226-3255CFEB; Thu, 07 Oct 2004 09:21:41 +0200 Received: by mail.tewisoft.de (Mailserver TeWiSoft GmbH, from userid 502) id 40BF85BEE49; Thu, 7 Oct 2004 09:21:41 +0200 (CEST) Received: from tewisoft.de (shell10.tewisoft.de [192.168.20.120]) by mail.tewisoft.de (Mailserver TeWiSoft GmbH) with ESMTP id 93F585BEE47 for ; Thu, 7 Oct 2004 09:21:24 +0200 (CEST) Message-ID: <4164EE75.20606@tewisoft.de> Date: Thu, 07 Oct 2004 09:21:25 +0200 From: Thomas Vandahl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: de-de, en-us MIME-Version: 1.0 To: Apache Torque Developers List Subject: Re: JndiDataSourceFactory References: <4163A222.9020600@tewisoft.de> <4165349F.8040102@backstagetech.com.au> <4164051F.9090308@collab.net> <41640F41.6020209@tewisoft.de> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on mail.tewisoft.de X-Spam-Status: No, hits=-99.8 required=5.0 tests=NO_DNS_FOR_FROM,TEWI97, TEWI98,TEWI99,USER_IN_WHITELIST_TO autolearn=no version=2.64 X-Spam-Level: X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.16; AVE: 6.28.0.3; VDF: 6.28.0.5; host: mail) X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.16; AVE: 6.28.0.3; VDF: 6.28.0.5; host: mail.tewisoft.de) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Henning P. Schmiedehausen wrote: > Use a cache that times out. If you implement a cache that will defer > lookups for 30 seconds or so (configureable!), then you will get the > behaviour that John described after the timeout but still get the > performance gains from having a cache. > > There is an implementation of such a time-out cache in the Turbine > code base. Too right you are. I will use this for my own application which is based on Turbine anyway. I was thinking about a general solution which can be built into Torque. I guess using a Turbine Service is not an option there. Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org