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 A8F6C200C09 for ; Wed, 25 Jan 2017 20:46:28 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A77AA160B4E; Wed, 25 Jan 2017 19:46:28 +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 F153F160B3D for ; Wed, 25 Jan 2017 20:46:27 +0100 (CET) Received: (qmail 97316 invoked by uid 500); 25 Jan 2017 19:46:27 -0000 Mailing-List: contact dev-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 dev@ignite.apache.org Received: (qmail 97297 invoked by uid 99); 25 Jan 2017 19:46:26 -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; Wed, 25 Jan 2017 19:46:26 +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 6762D1A0412 for ; Wed, 25 Jan 2017 19:46:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 qe-q9qFONAQf for ; Wed, 25 Jan 2017 19:46:25 +0000 (UTC) Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 29A245F238 for ; Wed, 25 Jan 2017 19:46:25 +0000 (UTC) Received: by mail-it0-f41.google.com with SMTP id k200so38786296itb.1 for ; Wed, 25 Jan 2017 11:46:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=7UaOmWY5YyfMmcSQbTBF3ImT+LF03S665IokZd6YTA4=; b=Td+CzO8YwZUVUZkD/sSDa8TikO9Ntcf1KZSWrFgsTvd/XiVazO0irXcYBc/PwvQ/xv EXTDO8SW9SkGqVdB1L7PH3/kyQ1WASYDfBCiSIXra0PXUs7r4yhNeXe1+3JWKLtrcyZP IAVYEWR3LZJdH7pY/XxbAn16CObjoNB8pdTx2APsUk781dPYN7X1qO5ZYwDIT437qPtv jw3TrngC7vCrb+BJJw4ny7A6dezjYLHzTU3F1MYQQ8ts6YDiWc2ym48A9yO5ix0KEmD6 0O3V+7O/PlidQRJP2wLN+z6Z0SsKamymbYM2oZSgHk7Wy0Bta0vSISN5Xzr7nVSLxW4l Jq4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=7UaOmWY5YyfMmcSQbTBF3ImT+LF03S665IokZd6YTA4=; b=Wqs1NgtIpkdOvB0jtxQFwbsIMAho98Lq03et/0gYZRTfONjuPHbDJdu6Gq+uibxMkL /WqUhM1HmHYJVEPQsK4tpkJFAPfrcn0UsjN9MOQBR+UimHfWSjPIPTA6Dm7PAzqGBzid 38X1Pv1DmTGSXOViP6jaEO/5Oc85+mXTTM462e8hBCe9+nNuWb20FqNChM/rZMaTRmwv kEzyhK/k/J4cKZG8DKUnpX/xRIN/mo3Ykd1rERhFrKeE/94uRvjC/8vOs2Q4AFOjg7Dv es4nLz8u+IlsuqE7m0/fl1959DqR4BhNqx8Mbjl6KHpIzsaKaTskKP4BRMaS4QTn8Uty dfmw== X-Gm-Message-State: AIkVDXIoZX2SVFdtLzUEvS/lYujZlAA+xwnik5LHwkZQ3+eXAQaqn/Wli895tTeMpZn51fGr4Qtxw8cppIyFKQ== X-Received: by 10.36.213.4 with SMTP id a4mr26946009itg.0.1485373583113; Wed, 25 Jan 2017 11:46:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.93.102 with HTTP; Wed, 25 Jan 2017 11:45:52 -0800 (PST) In-Reply-To: References: From: Valentin Kulichenko Date: Wed, 25 Jan 2017 11:45:52 -0800 Message-ID: Subject: Re: Write IgniteUuid with BinaryMarshaller To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary=94eb2c060070c7cb380546f07c59 archived-at: Wed, 25 Jan 2017 19:46:28 -0000 --94eb2c060070c7cb380546f07c59 Content-Type: text/plain; charset=UTF-8 Pavel, Makes sense, I think this is the best way. -Val On Wed, Jan 25, 2017 at 12:27 AM, Pavel Tupitsyn wrote: > Val, > > Not sure about UUID. > It is a very common thing and writing it as an object will introduce a lot > of overhead (17 bytes now vs 40+ bytes for object). > > May be we should even add a special case for IgniteUuid? > > On Wed, Jan 25, 2017 at 1:52 AM, Dmitriy Setrakyan > wrote: > > > Why not add IgniteUuid to BinaryContext.BINARYLIZABLE_SYS_CLSS? > > > > On Tue, Jan 24, 2017 at 10:55 AM, Valentin Kulichenko < > > valentin.kulichenko@gmail.com> wrote: > > > > > I actually think that both UUID and IgniteUuid should be plain > > serializable > > > classes, I don't see any reason for special processing for them. > > > > > > Currently we have the following: > > > > > > - UUID is Serializable, but we have special serialization logic for > it > > > internally in the marshaller. > > > - IgniteUuid is Externalizable. > > > > > > This is indeed inconsistent and confusing. > > > > > > -Val > > > > > > On Tue, Jan 24, 2017 at 9:21 AM, Pavel Tupitsyn > > > wrote: > > > > > > > Igniters, > > > > > > > > Currently IgniteUuid is written with OptimizedMarshaller > > > > (it is not included in BinaryContext.BINARYLIZABLE_SYS_CLSS). > > > > > > > > This prevents it from being read on other platforms (.NET, C++). > > > > > > > > Is there any reason for this? Can we fix this in 2.0? > > > > > > > > Thanks, > > > > Pavel > > > > > > > > > > --94eb2c060070c7cb380546f07c59--