X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5ABDB529AB for ; Wed, 29 Jun 2005 17:52:22 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 46375-04 for ; Wed, 29 Jun 2005 20:52:13 +0000 (GMT) Received: from koolancexeon.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by svr1.postgresql.org (Postfix) with ESMTP id 2981A529A7 for ; Wed, 29 Jun 2005 17:52:12 -0300 (ADT) Received: mail.g2switchworks.com 10.10.1.8 from 10.10.1.37 10.10.1.37 via HTTP with MS-WebStorage 6.5.6944 Received: from state.g2switchworks.com by mail.g2switchworks.com; 29 Jun 2005 15:52:11 -0500 Subject: Re: XA support From: Scott Marlowe To: Dave Cramer Cc: Heikki Linnakangas , pgsql-jdbc@postgresql.org In-Reply-To: <84DC4D65-95BD-4CB5-AD5E-6C1E80EF6E69@fastcrypt.com> References: <84DC4D65-95BD-4CB5-AD5E-6C1E80EF6E69@fastcrypt.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1120078331.8208.128.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 29 Jun 2005 15:52:11 -0500 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/170 X-Sequence-Number: 13132 On Wed, 2005-06-29 at 15:27, Dave Cramer wrote: > I see option A below as the lesser of three evils. Is it reasonable > to believe that people using XA would > know enough to allocate enough connections ? > > Optionally we could have two implementations and choose between A and B If they've used it before with jdbc, yes. It's the way Oracle does it too. Under Jboss you have a two to one ration of backend to frontend connections. I.e. every application connection going through an XA connector requires TWO backend connections. IT might be worth putting a note in the jdbc docs though.