Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60696 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2695 invoked from network); 31 May 2012 06:58:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 May 2012 06:58:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=camauz@yahoo.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=camauz@yahoo.com; sender-id=unknown; domainkeys=good Received-SPF: error (pb1.pair.com: domain yahoo.com from 77.238.189.199 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: camauz@yahoo.com X-Host-Fingerprint: 77.238.189.199 nm2-vm0.bullet.mail.ird.yahoo.com Received: from [77.238.189.199] ([77.238.189.199:24340] helo=nm2-vm0.bullet.mail.ird.yahoo.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/A4-60719-D7617CF4 for ; Thu, 31 May 2012 02:58:06 -0400 Received: from [77.238.189.53] by nm2.bullet.mail.ird.yahoo.com with NNFMP; 31 May 2012 06:58:02 -0000 Received: from [212.82.108.135] by tm6.bullet.mail.ird.yahoo.com with NNFMP; 31 May 2012 06:58:02 -0000 Received: from [127.0.0.1] by omp1040.mail.ird.yahoo.com with NNFMP; 31 May 2012 06:58:02 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 502205.19103.bm@omp1040.mail.ird.yahoo.com Received: (qmail 94126 invoked by uid 60001); 31 May 2012 06:58:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1338447482; bh=atVTi6FvPJ1EtqvPdKUi/PVhmM6rFIR9ltlhFSncbCs=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2XLa7v4xlS4yJ69aCCbCz7EUXp7Fr0cTBffzGUuJdyn2Fsx48hD9m5vRJCJgpbdPEem98x7vicSm2NAN821tioAwSGSmT9RGpIhfCpWYHdXgOSSdXapmNhRRF/0Rkqa6oudMf4mbroX4py2dtT/cpP8TIja0zcJEvLJSqC2hpSw= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=oq4c9gpNNSC6L3QDEItOQBltzvKaImd1qAY4Whl90Ocfj6KugFvbWpAycVsXal+W7lPKSG2s6U4uBmlZzkQabeoSscEPi4oR6sH7jNnFeyZn2aiasRf37wnMegcZJzd/TrHFsfJRuyQj9EZdNOf2QEuFikr5ewi30pNRgpiYTpo=; X-YMail-OSG: nQUC9acVM1lqPf3XR2mg323llIqmFqnmQVJMJ1eHXsSEUvQ q5xcyqaaf.zVM9H5o.YO4zDy8AzzDTgFSS9ZLOxL.U6obV4KqG0VrzCOlAmR TzbGWQzx0D_VUdIVw.s31m_0tM3LBZP.dwltIzoSX8puVvESz4HWqnZRtbsh d_6XU7O9ag_2X8yhdCm.T48BmtuSOZr.y6lwmttNVmaVi.IPNmtRY6HPVfmV YikWV75Ep5a7Thf.A2ZubPDqqYa7CD35KL819OzDdEK5vTmr2SA5PaQtW5am 0HyQk5zXgwh6MA_9zAnrEk2tLDGGjTiLD2i4xqFMIBBpcNh.BakuaNSHKqb3 dyc5MwMQF.V_A9snbO4uk7N9xgVH9dj0AkoVRI743rP8E7Ou4QnZIqNOc33v uO5KFykius190phS3JgDimsITGd9Tvel6nrAZfY4SwYACZf4GgAqByJa1ORT AhK9iGmQ67aw7ZVmf9thsD0CaEXsmPxpeox8DK7I1EVy9loJN8yGyoQrKSnh dkb97aUymMrQtF8DlbXKm0XAn Received: from [92.246.34.60] by web29506.mail.ird.yahoo.com via HTTP; Thu, 31 May 2012 07:58:02 BST X-Mailer: YahooMailWebService/0.8.118.349524 References: <1338323273.24780.YahooMailNeo@web29506.mail.ird.yahoo.com> <1338408656.56325.YahooMailNeo@web29506.mail.ird.yahoo.com> <1494709342.20120530171419@cypressintegrated.com> Message-ID: <1338447482.89411.YahooMailNeo@web29506.mail.ird.yahoo.com> Date: Thu, 31 May 2012 07:58:02 +0100 (BST) Reply-To: Christian Ferrari To: Sanford Whiteman , "internals@lists.php.net" In-Reply-To: <1494709342.20120530171419@cypressintegrated.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] PHP and two phase commit transactions From: camauz@yahoo.com (Christian Ferrari) >> 1. Is there any interest in "two phase commit" inside PHP=0A=0A>> comm= unity? Without a real interest, every effort would be useless.=0A> =0A> I c= an't speak to a "critical mass" of interest, but as PHP and =0A> MySQL=0A> = are closely coupled in the real world, until relatively recently (when=0A> = Inno became the default) that meant that PHP and MyISAM were best=0A> buds.= I don't know how you could do 2PC between two=0A> transaction-unaware back= ends. I could see one transaction-aware and=0A> one transaction-unaware wo= rking by running synchronously w/the=0A> transactional one first (?).=0A=0A= LIXA can be coupled only with resource managers that supports some form of = XA protocol. When the resource manager is truly XA compliant (Oracle DBMS, = IBM DB2, IBM WebSphere MQ) LIXA code is just a wrapper of the XA switch fil= e provided by the resource manager. When the resource manager is partially = XA compliant (PostgreSQL, MySQL with InnoDB) LIXA code adds some logic to e= mulate a standard XA switch file. MySQL itself is affected by this serious = bug http://bugs.mysql.com/bug.php?id=3D12161 that violates XA specification= . Despite it, LIXA tries to do its best to support XA for MySQL.=0AMySQl an= d MyISAM can not be used in conjuction with LIXA for distributed transactio= n processing.=0A=0A> =0A> So my sense is that PHP, because of MyISAM's ubiq= uity, isn't the ideal=0A> language target for 2PC (compared to Java/.NET wh= ere the most=0A> "enterprise" back end is assumed, however inaccurately!). = =0A> =0A> That doesn't mean there wouldn't be some interest, though.=0A> = =0A> -- S.=0A> =0A> =0A=0ACh. F.=0A