Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F8BE184B0 for ; Tue, 27 Oct 2015 01:26:41 +0000 (UTC) Received: (qmail 33064 invoked by uid 500); 27 Oct 2015 01:26:41 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 33014 invoked by uid 500); 27 Oct 2015 01:26:40 -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 33005 invoked by uid 99); 27 Oct 2015 01:26:40 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Oct 2015 01:26:40 +0000 Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 777A41A009C for ; Tue, 27 Oct 2015 01:26:40 +0000 (UTC) Received: by oiad129 with SMTP id d129so111466115oia.0 for ; Mon, 26 Oct 2015 18:26:39 -0700 (PDT) X-Gm-Message-State: ALoCoQkXpxwSG0fajHrPVeTFacUVbnjMG6CgZXeYWHNPaPleNRuBViKCJmhoYQsDE7vi/ES1ye0S X-Received: by 10.202.86.214 with SMTP id k205mr25732909oib.115.1445909199456; Mon, 26 Oct 2015 18:26:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.108.205 with HTTP; Mon, 26 Oct 2015 18:26:00 -0700 (PDT) In-Reply-To: <1445890961848-1710.post@n6.nabble.com> References: <1445890961848-1710.post@n6.nabble.com> From: Dmitriy Setrakyan Date: Mon, 26 Oct 2015 18:26:00 -0700 Message-ID: Subject: Re: Performance issue with REPLICATED cache To: user Content-Type: multipart/alternative; boundary=001a113d841a36307105230bf8a3 --001a113d841a36307105230bf8a3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Yuri, Is there a chance you can create a small github project reproducing this? You don=E2=80=99t need to have 15 caches, I think 1 cache would suffice. If the above is not possible, then we will have to investigate by looking at logs, code, etc., which would take more time. D. On Mon, Oct 26, 2015 at 1:22 PM, Yury Lazouski wrote: > Hi All, > we are using Ignite 1.3.3 in win server environment. > > *Caches configuration* > > Each Ignite node has ~15 caches ~1M records each of Integer-to-Object > entries (total memory required ~7Gb), configured as "REPLICATED", > readFromBackup flag is set to "true", transaction mode is "ATOMIC", all t= he > rest left defaults. One instance of loader service is configured which > populates caches using IgniteDataStreamer on regular basis (scheduler) wi= th > deltas found in source DB, no other writes/updates are performed on cache= s, > from client perspective cache is effectively read-only. For the sake of > experiment simplification database is getting loaded to caches only once = - > no further updates are happening. > > *Job execution* > > In-process (same jvm) client submits callable task to Ignite node which > essentially traverses caches via get(key) and does calculations on > retrieved > data. > > *Problem* > > With one Ignite node average get(key) operation time is 20-40 =CE=BCs, wi= th > enabling second node timings (same local node timings!) are getting > increased to >100 =CE=BCs. With adding parallel clients (parallel executi= on of > callable tasks which travers same caches) numbers reach millisecond level= . > If we configure loader service on each node and switch mode to "LOCAL", > get(key) time is constant (0-1 =CE=BCs) and performance scalability is li= near > with addition of Ignite nodes. So the question is how to make "REPLICATED= " > cache perform like "LOCAL" if there are no updates to the caches and data > is > only getting accessed locally? Please advise. > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Performance-issue-with-REP= LICATED-cache-tp1710.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > --001a113d841a36307105230bf8a3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Yuri,

Is there a chance you can crea= te a small github project reproducing this? You don=E2=80=99t need to have = 15 caches, I think 1 cache would suffice.

If the a= bove is not possible, then we will have to investigate by looking at logs, = code, etc., which would take more time.

D.

On Mon, Oct 2= 6, 2015 at 1:22 PM, Yury Lazouski <yury_lazouski@epam.com> wrote:
Hi All,
we are using Ignite 1.3.3 in win server environment.

*Caches configuration*

Each Ignite node has ~15 caches ~1M records each of Integer-to-Object
entries (total memory required ~7Gb), configured as "REPLICATED",=
readFromBackup flag is set to "true", transaction mode is "A= TOMIC", all the
rest left defaults. One instance of loader service is configured which
populates caches using IgniteDataStreamer on regular basis (scheduler) with=
deltas found in source DB, no other writes/updates are performed on caches,=
from client perspective cache is effectively read-only. For the sake of
experiment simplification database is getting loaded to caches only once -<= br> no further updates are happening.

*Job execution*

In-process (same jvm) client submits callable task to Ignite node which
essentially traverses caches via get(key) and does calculations on retrieve= d
data.

*Problem*

With one Ignite node average get(key) operation time is 20-40 =CE=BCs, with=
enabling second node timings (same local node timings!) are getting
increased to >100 =CE=BCs. With adding parallel clients (parallel execut= ion of
callable tasks which travers same caches) numbers reach millisecond level.<= br> If we configure loader service on each node and switch mode to "LOCAL&= quot;,
get(key) time is constant (0-1 =CE=BCs) and performance scalability is line= ar
with addition of Ignite nodes. So the question is how to make "REPLICA= TED"
cache perform like "LOCAL" if there are no updates to the caches = and data is
only getting accessed locally? Please advise.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/= Performance-issue-with-REPLICATED-cache-tp1710.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

--001a113d841a36307105230bf8a3--