From owner-freebsd-java@FreeBSD.ORG Thu May 10 10:48:36 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9B6416A406 for ; Thu, 10 May 2007 10:48:36 +0000 (UTC) (envelope-from charlie.mas@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.241]) by mx1.freebsd.org (Postfix) with ESMTP id 6568D13C43E for ; Thu, 10 May 2007 10:48:36 +0000 (UTC) (envelope-from charlie.mas@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so126558and for ; Thu, 10 May 2007 03:48:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hN2/CDuI9ed7qMQqjr9gxjAYrwZFcJyjnvj/FH44TxDsPVl2HxA4XORmQeHB1s5/LRBUWIlhcXLZHV+ZTxL2z4cqXsXPOoMCMGW7ObaP7kdXLJ/o3PP3qiiGWwlq2X91OJqzHe+Pq9MTbXHUFFHsLobdppO5jh4TqKHPtV5CYl4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PgTTGmyWOqnmF3dp/e3WOUmnN4vNot3Wg/EUaRBlkx8Qn4mq1f9ALYsBq/I79ZmeHknd1rnMb/S5UCjEea8yMEdw1as0VHYlLVIOUEeivRNA2kjc6or1MKor6aYY3tKvlLaTv0y5JrfVdwEP7qyMfesq++pSCPGjjIY3q5ZFPVI= Received: by 10.100.59.20 with SMTP id h20mr1137290ana.1178794115797; Thu, 10 May 2007 03:48:35 -0700 (PDT) Received: by 10.100.152.6 with HTTP; Thu, 10 May 2007 03:48:35 -0700 (PDT) Message-ID: <1960fb140705100348w7fc4b303mdd8bc4f1584bbb2b@mail.gmail.com> Date: Thu, 10 May 2007 11:48:35 +0100 From: "Charles Mason" To: "Achilleas Mantzios" In-Reply-To: <9227E1F0-12F4-4991-A074-DC71DD160444@kissintelligentsystems.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1960fb140705050948td9da58bxb5fddb8e6bd39c43@mail.gmail.com> <1960fb140705100225o38edbe72gcc05d585adcc0be8@mail.gmail.com> <9227E1F0-12F4-4991-A074-DC71DD160444@kissintelligentsystems.com> Cc: freebsd-java@freebsd.org Subject: Re: Jboss Web on FreeBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: charlie@cpsoftware.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2007 10:48:36 -0000 On 5/10/07, Achilleas Mantzios wrote: > > Good job! > Good to know and show that FreeBSD java closely follows cutting edge java > technology. > > BTW > are there any benchmarks against apache, tomcat, jetty? Well there theres a fairly interesting (if some what long) webinare on the Jboss site about it. If you ignore all the marketing speak there is some actual proper discussion of performance. Theres a graph in the document ion (http://labs.jboss.com/file-access/default/members/jbossweb/freezone/index.html) which shows there performance figures. That resembles the discsion and charts in the webinare discussion, although the webinar is much more detailed. Because they use APR you should get static file serving somewhere in the region of what Apache can achieve. Jetty and Tomcat use pure java code for static file serving so that's bound to take a performance hit, compared to highly optimised native code. The other big advantage is the platform dependent modules you can add to it. There are modules for php, .net and various forms of CGI. That way one server can serve all those different technologies. I think the basic idea is to remove the need to front a mainly java servers like Tomcat or Jetty with Apache for performance reasons. If I remember correctly they are planning to use the native code system in the next version of Jboss Application Server so that won't need to be Apache fronted either. My company doesn't need a full J2EE server, so an efficient and optimised Tomcat like server is ideal for us. Its not a tuned version of Tomcat. It has many of the "enterprise" features of the full Jboss J2EE server but without the J2EE parts if that makes any sense. It features things like Hot Deployment and the Jboss config system. Anyway I haven't run any benchmarks on the FreeBSD version, but it certainly seems to be as fast as it is on our current production system running Windows Server 2003. We are migrating to FreeBSD eventually (it wasn't just the price thats attacted us to FreeBSD). So having JbossWeb running is a great start. Charlie