Return-Path: Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: (qmail 34123 invoked from network); 31 May 2010 17:16:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 May 2010 17:16:47 -0000 Received: (qmail 92087 invoked by uid 500); 31 May 2010 17:16:46 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 92072 invoked by uid 500); 31 May 2010 17:16:46 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 92064 invoked by uid 99); 31 May 2010 17:16:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 May 2010 17:16:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [217.110.29.213] (HELO zimbra2.tngtech.com) (217.110.29.213) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 May 2010 17:16:38 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra2.tngtech.com (Postfix) with ESMTP id D6B7A9CE2D1 for ; Mon, 31 May 2010 19:16:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at tngtech.com Received: from zimbra2.tngtech.com ([127.0.0.1]) by localhost (zimbra2.tngtech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ae9gdzeJgbna for ; Mon, 31 May 2010 19:16:10 +0200 (CEST) Received: from [10.0.109.20] (unknown [95.157.24.160]) by zimbra2.tngtech.com (Postfix) with ESMTPSA id DE5839CE2D0 for ; Mon, 31 May 2010 19:16:10 +0200 (CEST) Message-ID: <4C03EEDA.8060304@tngtech.com> Date: Mon, 31 May 2010 19:16:10 +0200 From: Martin Kreidenweis Organization: TNG Technology Consulting GmbH User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 To: user@ofbiz.apache.org Subject: Performance issue: org.ofbiz.entity.transaction.TransactionUtil seems to be bottleneck X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, we are currently evaluating Apache OFBiz for use in one of our projects. We expect a high load on our application. So we did a test with jMeter on the sample ecommerce application with 100 parallel sessions and in average 400 msec (randomized) wait time between requests. During profiling we experienced that org.ofbiz.entity.transaction.TransactionUtil.begin() is by far the dominating method invoked and the application spends about 75% of total time in this method. This results in page load times over 10 seconds and growing. Many threads are blocked because the method is defined as static and synchronized. We are using MySQL as a database backend in our test setup and deactivated all informational logging (even server hit statistics), and most of the sidebar widgets. Any suggestions/ideas are highly appreciated. Thanks. Best regards, Martin