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 5FCE9200BE3 for ; Thu, 22 Dec 2016 20:03:43 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5E6C8160B26; Thu, 22 Dec 2016 19:03: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 A6A2C160B1B for ; Thu, 22 Dec 2016 20:03:42 +0100 (CET) Received: (qmail 47447 invoked by uid 500); 22 Dec 2016 19:03:41 -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 47437 invoked by uid 99); 22 Dec 2016 19:03: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; Thu, 22 Dec 2016 19:03: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 6996DCEACF for ; Thu, 22 Dec 2016 19:03:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.174 X-Spam-Level: ** X-Spam-Status: No, score=2.174 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id aQh88HL1XFGW for ; Thu, 22 Dec 2016 19:03:39 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 92DF95FB5D for ; Thu, 22 Dec 2016 19:03:38 +0000 (UTC) Received: from static.162.255.23.37.macminivault.com (unknown [162.255.23.37]) by mbob.nabble.com (Postfix) with ESMTP id E293C38C97F7 for ; Thu, 22 Dec 2016 10:49:08 -0800 (PST) Date: Thu, 22 Dec 2016 12:03:25 -0700 (MST) From: vkulichenko To: user@ignite.apache.org Message-ID: <1482433405055-9708.post@n6.nabble.com> In-Reply-To: <058801d25c3d$1f19a320$5d4ce960$@neulion.com.cn> References: <055f01d25b78$512e5600$f38b0200$@neulion.com.cn> <1482346340960-9685.post@n6.nabble.com> <057a01d25bfb$d3078510$79168f30$@neulion.com.cn> <058801d25c3d$1f19a320$5d4ce960$@neulion.com.cn> Subject: =?UTF-8?Q?Re:_=E7=AD=94=E5=A4=8D:_Cache.invoke_are_terri?= =?UTF-8?Q?bly_slow_and_can't_update_cache?= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Thu, 22 Dec 2016 19:03:43 -0000 Shawn, #1 - Yes, peer class loading is needed if you don't have entry processor implementation class deployed on server nodes. #2 - Correct. Moreover, I would recommend not to use lambdas or anonymous classes for anything that can be serialized, but to use static classes instead (this is actually a recommendation for Java in general, not only for Ignite). This will give you much more control on what is serialized along with entry processor and will simplify the understanding of how it is executed. Can you clarify why do you think it's error prone? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cache-invoke-are-terribly-slow-and-can-t-update-cache-tp9676p9708.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.