Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 61748 invoked from network); 29 Feb 2004 19:21:22 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Feb 2004 19:21:22 -0000 Received: (qmail 34253 invoked by uid 500); 29 Feb 2004 19:21:10 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 33959 invoked by uid 500); 29 Feb 2004 19:21:09 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 33945 invoked from network); 29 Feb 2004 19:21:08 -0000 Received: from unknown (HELO host.leverageweb.com) (64.91.254.192) by daedalus.apache.org with SMTP; 29 Feb 2004 19:21:08 -0000 Received: from va-leesburg-cmts5c-90.chvlva.adelphia.net ([67.21.159.90] helo=leverageweb.com) by host.leverageweb.com with esmtp (Exim 4.24) id 1AxWmh-0001xI-DH for dev@cocoon.apache.org; Sun, 29 Feb 2004 14:39:31 -0500 Message-ID: <40423CA5.8050503@leverageweb.com> Date: Sun, 29 Feb 2004 14:25:25 -0500 From: Geoff Howard User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [RT] rethinking the cache storage system References: <403A207D.7040704@apache.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.leverageweb.com X-AntiAbuse: Original Domain - cocoon.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - leverageweb.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Pier Fumagalli wrote: > On 23 Feb 2004, at 15:47, Stefano Mazzocchi wrote: > >> >> My gut feelins is that having such a critical piece of our >> infrastructure so away from the metal is actually hurting us, both >> performance and complexity wise. > > > +1 > >> I would love to use BerkeleyDB, but it's native, incompatibly >> licensed and has terrible Java APIs. And all the problems of binary >> stores: you can't see inside from your shell! > > > It's all right... > >> I think that a better use of the file system would yield much more >> performance, since JVM IO is pretty much optimized for file access >> anyway (and uses OS-level caching). >> >> thoughts? > > > I've been looking at the java.nio stuff, especially in the area of > memory mapping some files :-P I can tell you that it's FAST, and > basically does the trick. See a file as a big array in ram, well, but > actually it's only a "fake" array mapped really on the disk, and > cached by kernel... I've been thinking of that myself -- do I remember correctly that we've tossed around the idea of making 2.2 jdk1.4 only?? Geoff