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 64C4D200CC8 for ; Fri, 14 Jul 2017 17:05:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6331716DD82; Fri, 14 Jul 2017 15:05:48 +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 AAB8216DD7E for ; Fri, 14 Jul 2017 17:05:47 +0200 (CEST) Received: (qmail 24088 invoked by uid 500); 14 Jul 2017 15:05:46 -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 24078 invoked by uid 99); 14 Jul 2017 15:05:46 -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; Fri, 14 Jul 2017 15:05:46 +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 30DB91A0529 for ; Fri, 14 Jul 2017 15:05:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id XXsXXWQcwcco for ; Fri, 14 Jul 2017 15:05:44 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0562A5FB61 for ; Fri, 14 Jul 2017 15:05:44 +0000 (UTC) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mwork.nabble.com (Postfix) with ESMTP id 9314952C83214 for ; Fri, 14 Jul 2017 08:05:43 -0700 (MST) Date: Fri, 14 Jul 2017 08:05:43 -0700 (MST) From: mimmo_c To: user@ignite.apache.org Message-ID: <1500044743596-14918.post@n6.nabble.com> Subject: Ignite DataStream Troughput MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Fri, 14 Jul 2017 15:05:48 -0000 Hi, We're testing ignite DataStream troughput with a network of 1Gbps. If we send a big file with scp we have a throughput of 150 Mb/s. We have 1 Ignite Server and 1 Ignite Client on version 2.0, in Client we have an HashMap of 1Million Entry which we send into Server's cache. The Cache is configured as Partitioned, Atomic, no backup. With a simple DataStream when we send the HashMap into the cache we have a throughput of 20/25 Mb/s without Stream Transformer. Is this a limit of DataStream? Here is the code: try(IgniteDataStreamer stmr = ignite.dataStreamer("default")){ for(Entry entry : mappa1.entrySet()){ stmr.addData(entry.getKey(),entry.getValue()); } } When we add another Server Node the each Server Node receive 11 Mb/s (effective throughput is the same 20/25 Mb/s) If we Add a StreamTransformer for update value in cache and send more than 1 Hashmap the throughput is 15 Mb/s and if we add another Server Node the throughput is the same. public static class UpdateWord extends StreamTransformer { @Override public Object process(MutableEntry e, Object... arg) throws EntryProcessorException { Object streamed = arg[0]; Long temp = Long.valueOf(streamed.toString()).longValue(); Long val = e.getValue(); e.setValue(val == null ? temp : val + temp); return null; } } Is there some limit on DataStream Usage or a bottleneck? How can we use all network bandwidth? Maybe some DataStream Configuration? Thanks, Mimmo -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-DataStream-Troughput-tp14918.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.