Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 41343 invoked by uid 500); 7 Mar 2003 21:49:27 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 41330 invoked from network); 7 Mar 2003 21:49:26 -0000 Received: from adsl-209-233-18-122.dsl.snfc21.pacbell.net (HELO localhost.localdomain) (209.233.18.122) by daedalus.apache.org with SMTP; 7 Mar 2003 21:49:26 -0000 Received: from pcextremist.com (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h27LoGDq018739 for ; Fri, 7 Mar 2003 13:50:16 -0800 Message-ID: <3E691417.5080809@pcextremist.com> Date: Fri, 07 Mar 2003 13:50:15 -0800 From: Miles Elam User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: Jetty performance.... References: <40751.10.0.0.1.1047055699.squirrel@ags01.agsoftware.dnsalias.com> <41018.10.0.0.1.1047060869.squirrel@ags01.agsoftware.dnsalias.com> In-Reply-To: <41018.10.0.0.1.1047060869.squirrel@ags01.agsoftware.dnsalias.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Found this: http://www.caucho.com/support/resin-interest/0211/0241.html Thought it might be interesting for others. It was for me. The last paragraph was most interesting to me. "/All in all, I think that Jetty, Resin and Tomcat must all be getting / pretty close to terminal /velocity for serving servlets. We are all maxing out just under or over / 2000 servlet requests /a second on my hardware - I doubt there is much scope of going much beyond / that and I don't /think we'll see 3000 unless I get a new network :-)"/ // //The discussion moves on to talk about optimizations related to flush() et al with the general thoughts being that Resin is somewhere between slightly faster to much faster than Jetty. Note: Resin mailing list. Now then, with output of 2000 requests a second, how much do you really worry about the implementation of the service() method? Wouldn't time be better spent profiling your XSLT and tweaking Cocoon's cache lookup algorithms? It just seems to me that once requests become a sufficiently small number given the fraction engine overhead / Cocoon processing does it matter that much? If someone can point me to where all logic leading up to the service() method is approaching the processing time of after Cocoon's service() method is called, I'd be very interested indeed. As it stands, splitting up your sitemap into multiple subsitemaps (for example) so that the number of matches is reduced would be a greater boon to performance. For me, the simplicity of Jetty is a boon to me. (Thank you Stefano and Pier for encouraging me to look at it.) However, has anyone else tried to compile 4.2.x from source? The binary download works fine, but default build environment seems hosed to me. Antonio is definitely right about the lack of complete documentation right away. - Miles