Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D2CDA200C4C for ; Tue, 4 Apr 2017 13:17:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D150B160B90; Tue, 4 Apr 2017 11:17:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F3218160B81 for ; Tue, 4 Apr 2017 13:17:42 +0200 (CEST) Received: (qmail 14027 invoked by uid 500); 4 Apr 2017 11:17:42 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 14015 invoked by uid 99); 4 Apr 2017 11:17:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2017 11:17:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6E9EDC02BE for ; Tue, 4 Apr 2017 11:17:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.379 X-Spam-Level: *** X-Spam-Status: No, score=3.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_LIVE=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id bVjGbXU896yj for ; Tue, 4 Apr 2017 11:17:40 +0000 (UTC) Received: from mail-yb0-f173.google.com (mail-yb0-f173.google.com [209.85.213.173]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2016D5F24C for ; Tue, 4 Apr 2017 11:17:40 +0000 (UTC) Received: by mail-yb0-f173.google.com with SMTP id f204so53130463ybc.2 for ; Tue, 04 Apr 2017 04:17:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=QJ2ERA0t3V/eaN58FC08+OiPsMCw2UoIMDLZrPVLlsU=; b=tQhOHkpYyS6oTitrSa/ytuB3BQLZ7YGGbv2P+hRhkl0oDfMLC2npSTQbF8/2LnWVc7 sEC37hdXYQIRfgsy/0OKoWLwDJRO3gGXRGQ3BxlmBgghSDdbholUlMSRzWFX6EjOuEIU rdPsLg1mCV0Fq4bYzUaWEmIVIGCjFIY0Z09ACIwuFS1AzruuDsAOYY8R4mDNcsizdWww D+gOup+8UinhtBT259ikQ+xUuiCHLz0IOZQDG+3YCmxGinjYNV3ApecUguWHnz8sEoX/ xxIFrxY5VEFn9PyGph14DGCLftkkQ84aOAot0ktbUrJYcoVeAS7WFTFW+RGGnVHVDLQU z2PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=QJ2ERA0t3V/eaN58FC08+OiPsMCw2UoIMDLZrPVLlsU=; b=FJgNieFMspOHMDYwgVdt1ttEXuQ1CRqWnvU+2f20L993VvmAmS91KkguQFQCHha049 atuQLO6i78sY52tGx7pA8sKjXhPxckJPBsVybJIZsYI1gdgOglSAibthL3DrrPJZNpst 2RoCybr1LRKhTA/sYyvBrTTKeLnC9KK+9S0sPqImE2p40CxtOqBxMCKMy9DByQzataxr RHe32hb7eUL43VvlsWbBzdUSBkXKqc8WqqtEWWopMtcGfXQAbfqVcsflATyEPTE+xThk /NRj/BaQjgCi41QPNv3bVKuw4jrmdivtkw1oVcPldgWAF/SZYv8UyBPOqjwpN0ahiZlv 0UrA== X-Gm-Message-State: AFeK/H2extkbibemm7EeotVupqAT/B64BV7OsqemBBkYR2Ng8F+lXws3wJa+9b1fE+ncQDzhlUKY4QHKIFHPeQ== X-Received: by 10.129.91.86 with SMTP id p83mr13804794ywb.50.1491304659482; Tue, 04 Apr 2017 04:17:39 -0700 (PDT) MIME-Version: 1.0 References: <803E30BA-D595-430E-AE12-C86B9E93088C@gridgain.com> In-Reply-To: From: ALEKSEY KUZNETSOV Date: Tue, 04 Apr 2017 11:17:29 +0000 Message-ID: Subject: Re: one point optimisation To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary=001a1148407e7afce9054c556ca9 archived-at: Tue, 04 Apr 2017 11:17:44 -0000 --001a1148407e7afce9054c556ca9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable any thoughts on one phase commit realization ? =D0=BF=D0=BD, 3 =D0=B0=D0=BF=D1=80. 2017 =D0=B3. =D0=B2 19:35, ALEKSEY KUZN= ETSOV : > I've attached test that prints messages exchange . Which shows us that > there are more messages then you declared in article. Perhaps, > implementation has changed. > I created it on base of IgniteOnePhaseCommitNearSelfTest > > =D0=BF=D0=BD, 3 =D0=B0=D0=BF=D1=80. 2017 =D0=B3. =D0=B2 19:03, Dmitriy Se= trakyan : > > Aleksey, > > The blog describes the 1-phase commit at a high level, but I am still > curious about the differences you found. Can you share them here? > > D. > > On Mon, Apr 3, 2017 at 2:11 AM, ALEKSEY KUZNETSOV < > alkuznetsov.sb@gmail.com> > wrote: > > > Regarding IgniteOnePhaseCommitNearSelfTest test , ignite's one phase > > optimisation works not as you said. > > I attached picture of message exchange. There are partial prepare phase > > exists, along with finish phase. > > > > > > > > =D0=BF=D0=BD, 3 =D0=B0=D0=BF=D1=80. 2017 =D0=B3. =D0=B2 10:55, Christos= Erotocritou >: > > > >> As far as I know a partition is always allocated to a specific node an= d > >> does not span nodes. Ignite has default 1024 partitions on start that > are > >> split equally across nodes. > >> > >> > On 3 Apr 2017, at 08:10, ALEKSEY KUZNETSOV > >> wrote: > >> > > >> > in ur blog u texted belonging to the same partition is nessesary for= 1 > >> > phase commit. But its not guarantee belonging to the same node. > >> Partition > >> > may span many nodes > >> > > >> > =D0=B2=D1=81, 2 =D0=90=D0=BF=D1=80 2017 =D0=B3., 13:46 ALEKSEY KUZNE= TSOV >: > >> > > >> >> thank u ! > >> >> > >> >> =D0=BF=D1=82, 31 =D0=9C=D0=B0=D1=80 2017 =D0=B3., 21:06 Denis Magda= : > >> >> > >> >> Here is a good blog post about 1phase commit impl in Ignite and its > >> >> advantages: > >> >> > >> >> http://gridgain.blogspot.com/2014/09/one-phase-commit-fast- > >> transactions-for.html > >> >> < > >> >> http://gridgain.blogspot.com/2014/09/one-phase-commit-fast- > >> transactions-for.html > >> >>> > >> >> > >> >> Took a reference to it from there: > >> >> > >> >> https://apacheignite.readme.io/docs/transactions#section- > >> two-phase-commit-2pc > >> >> < > >> >> https://apacheignite.readme.io/docs/transactions#section- > >> two-phase-commit-2pc > >> >>> > >> >> > >> >> =E2=80=94 > >> >> Denis > >> >> > >> >>> On Mar 31, 2017, at 12:27 PM, Dmitriy Setrakyan < > >> dsetrakyan@apache.org> > >> >> wrote: > >> >>> > >> >>> On Fri, Mar 31, 2017 at 9:25 AM, ALEKSEY KUZNETSOV < > >> >> alkuznetsov.sb@gmail.com > >> >>>> wrote: > >> >>> > >> >>>> Igniters! What is the point of one phase optimisation? > >> >>>> > >> >>> > >> >>> Performance > >> >> > >> >> -- > >> >> > >> >> *Best Regards,* > >> >> > >> >> *Kuznetsov Aleksey* > >> >> > >> > -- > >> > > >> > *Best Regards,* > >> > > >> > *Kuznetsov Aleksey* > >> > > -- > > > > *Best Regards,* > > > > *Kuznetsov Aleksey* > > > > -- > > *Best Regards,* > > *Kuznetsov Aleksey* > --=20 *Best Regards,* *Kuznetsov Aleksey* --001a1148407e7afce9054c556ca9--