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 82F35200B2D for ; Thu, 16 Jun 2016 19:19:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 817F6160A51; Thu, 16 Jun 2016 17:19:21 +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 A51CA1602C5 for ; Thu, 16 Jun 2016 19:19:20 +0200 (CEST) Received: (qmail 42887 invoked by uid 500); 16 Jun 2016 17:19:19 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 42877 invoked by uid 99); 16 Jun 2016 17:19:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2016 17:19:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 648061A04EB for ; Thu, 16 Jun 2016 17:19:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id TR7d5YsG22SY for ; Thu, 16 Jun 2016 17:19:17 +0000 (UTC) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 21A685F1B3 for ; Thu, 16 Jun 2016 17:19:17 +0000 (UTC) Received: by mail-lf0-f50.google.com with SMTP id j7so44959993lfg.1 for ; Thu, 16 Jun 2016 10:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:references:to:in-reply-to; bh=7jLs/6sO2Q1QDXedtzRDX0nY0cUxlKNMkylYwVctk2k=; b=IXuUeMs3jrglkXxV+VDxo2DM7NoNZdNDp7NjPLOSs/IITeUOGXUGOB81e9F+D1n4Ot 39X1nNpsykY/02o8rDGf7ZNF8DbA6jf0NBaBKEM5fnnGz+Ef885g0ivcp9FTlScByIYI SYRqh1rkVPjRlMPNgI4Yg+h2ogbbInWw+/UP97JGjh8OqO6sJ2lgMaN4hOtZ7FOjIk8U 8EWUbDQteQ1HbJyQl34ZAnH1LmczBSZDM0D83vVkkq5lBoq4usQVOXRWUMtx2BPpSOC3 dqo5t3lf13OH79oTOqQFgYhz/pizyOCEmUHZiN505dycDnxOZ8kUt/zOPkcjnGZYWWsC 2Rlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:mime-version:subject:date :references:to:in-reply-to; bh=7jLs/6sO2Q1QDXedtzRDX0nY0cUxlKNMkylYwVctk2k=; b=ZUbO6V/3ydzEl1OYs89VuxtjjLIk1YHdCwNqBW1gShMxgR5OlWkLa7FvDNyT3nTe3N LgqqlTsoEV7tO05LIWgL6bRFN/KvJy45EQ/egv589usVbSnr1yGn1ljZK8KUGRMXTLHa zir5LmVEidClUH7Ld6jlbXoWz1WTLLl8p52n1hEjqE1CLfl6m21z6R7HSl3y3FXlh2To VKp9E2dBSZvogILiuTdqH0FAVcMWwtfUzs8mcWDCDbm7+bIC/JqbyVIEN7+/geUyTFl3 twNmgBEyVrQqGzWkCCsbcu4HZ7R+agrXmbfDY8JGDRV24S0wE24NBm7juzCR27McKBKD nQYQ== X-Gm-Message-State: ALyK8tIDd9vHEj0v5rPFGOlxPhf8ynmHM8g6E94o/G1g2EjmAl/wuLTOSuUZTDnGatrrioK4 X-Received: by 10.46.33.15 with SMTP id h15mr1573053ljh.36.1466097549255; Thu, 16 Jun 2016 10:19:09 -0700 (PDT) Received: from [172.16.204.169] ([185.62.194.139]) by smtp.gmail.com with ESMTPSA id t10sm4043947lfd.18.2016.06.16.10.19.08 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 16 Jun 2016 10:19:08 -0700 (PDT) From: Denis Magda Content-Type: multipart/alternative; boundary="Apple-Mail=_4EE6AB81-B1EE-4F03-8251-92F96B000405" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Ignite performance improvements Date: Thu, 16 Jun 2016 20:19:06 +0300 References: <1465901662511-5623.post@n6.nabble.com> <1465919955017-5632.post@n6.nabble.com> <1466075216557-5680.post@n6.nabble.com> <1466094586534-5684.post@n6.nabble.com> To: user@ignite.apache.org In-Reply-To: <1466094586534-5684.post@n6.nabble.com> X-Mailer: Apple Mail (2.3124) archived-at: Thu, 16 Jun 2016 17:19:21 -0000 --Apple-Mail=_4EE6AB81-B1EE-4F03-8251-92F96B000405 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Optimistic should show better performance than pessimistic transactions. The main point about OPTIMISTIC READ_COMMITTED is that during a commit = it=E2=80=99s not checked if an entry value has been modified since the = first read or write access and an optimistic exception is never raised. = However OPTIMISTIC SERIALIZABLE will detect such a situation and throw = the optimistic exception allowing you to perform a transaction one more = time. You can read more on optimistic modes here: = https://apacheignite.readme.io/v1.6/docs/transactions#optimistic-transacti= ons = = https://apacheignite.readme.io/v1.6/docs/transactions#deadlock-free-transa= ctions = =E2=80=94 Denis > On Jun 16, 2016, at 7:29 PM, amitpa wrote: >=20 > Does OPTIMISTIC Serializable give better performance? >=20 >=20 >=20 > -- > View this message in context: = http://apache-ignite-users.70518.x6.nabble.com/Ignite-performance-improvem= ents-tp5623p5684.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. --Apple-Mail=_4EE6AB81-B1EE-4F03-8251-92F96B000405 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Optimistic should show better performance than pessimistic = transactions.

The = main point about OPTIMISTIC READ_COMMITTED is that during a commit = it=E2=80=99s not checked if an entry value has been modified since the = first read or write access and an optimistic exception is never raised. = However OPTIMISTIC SERIALIZABLE will detect such a situation and throw = the optimistic exception allowing you to perform a transaction one more = time.

You can = read more on optimistic modes here:

=E2=80=94
Denis

On = Jun 16, 2016, at 7:29 PM, amitpa <amitpa@nrifintech.com> wrote:

Does = OPTIMISTIC Serializable give better performance?



--
View this = message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-performan= ce-improvements-tp5623p5684.html
Sent from the Apache = Ignite Users mailing list archive at Nabble.com.

= --Apple-Mail=_4EE6AB81-B1EE-4F03-8251-92F96B000405--