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 25A7C200BCA for ; Mon, 21 Nov 2016 12:05:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 24FB1160B1C; Mon, 21 Nov 2016 11:05:00 +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 9185E160AEC for ; Mon, 21 Nov 2016 12:04:59 +0100 (CET) Received: (qmail 45992 invoked by uid 500); 21 Nov 2016 11:04:58 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 45977 invoked by uid 99); 21 Nov 2016 11:04:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2016 11:04:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 835A82C0D55 for ; Mon, 21 Nov 2016 11:04:58 +0000 (UTC) Date: Mon, 21 Nov 2016 11:04:58 +0000 (UTC) From: "Semen Boikov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-3074) Optimize DHT atomic update future. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 21 Nov 2016 11:05:00 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683214#comment-15683214 ] Semen Boikov commented on IGNITE-3074: -------------------------------------- Hi, Reviewed, looks good. Thanks! > Optimize DHT atomic update future. > ---------------------------------- > > Key: IGNITE-3074 > URL: https://issues.apache.org/jira/browse/IGNITE-3074 > Project: Ignite > Issue Type: Task > Components: cache > Affects Versions: 1.5.0.final > Reporter: Vladimir Ozerov > Assignee: Konstantin Dudkov > Labels: performance > Fix For: 1.8 > > > Current implementation of GridDhtAtomicUpdateFuture is less than optimal. First of all, It allocates lots of collections. > We could improve that in several ways: > 1) Better encapsulate logic around DHT future/request/response, so that collections are not exposed through methods directly. > 2) Implement specialized version for update with a single key (the most common case). > Once done, we will be able to easily add single DHT request/response for more efficient IO. -- This message was sent by Atlassian JIRA (v6.3.4#6332)