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 0A9B5200BDA for ; Tue, 29 Nov 2016 07:14:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0920D160B22; Tue, 29 Nov 2016 06:14:09 +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 78E92160B0D for ; Tue, 29 Nov 2016 07:14:08 +0100 (CET) Received: (qmail 41557 invoked by uid 500); 29 Nov 2016 06:14:07 -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 41505 invoked by uid 99); 29 Nov 2016 06:14:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2016 06:14:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1D216C1446 for ; Tue, 29 Nov 2016 06:14:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.423 X-Spam-Level: ** X-Spam-Status: No, score=2.423 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_ENVFROM_END_DIGIT=0.25, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id PF0Zf71dNjjW for ; Tue, 29 Nov 2016 06:14:03 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 373635FBD6 for ; Tue, 29 Nov 2016 06:14:03 +0000 (UTC) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id 9071F36E4F61 for ; Mon, 28 Nov 2016 22:02:27 -0800 (PST) Date: Mon, 28 Nov 2016 23:13:55 -0700 (MST) From: hitansu To: user@ignite.apache.org Message-ID: <1480400035217-9253.post@n6.nabble.com> In-Reply-To: <1480369285942-9237.post@n6.nabble.com> References: <1480318050486-9208.post@n6.nabble.com> <1480369285942-9237.post@n6.nabble.com> Subject: Re: AtomicSequence not performing well with 2 nodes cluster set up MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Tue, 29 Nov 2016 06:14:09 -0000 Thanks for the quick reply. If I will use range, then it wont be anymore a sequence in cluster-wide.If the range is 1000,then calling AtomicSequence.increamentAndGet() twice may give 1 & 1001.But I want it should give 1 & 2 respectively in any situation. Again Is it the same thing using AtomicLong or AtomicSequence with reservesize as 0 ? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/AtomicSequence-not-performing-well-with-2-nodes-cluster-set-up-tp9208p9253.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.