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 C9B17200C67 for ; Mon, 15 May 2017 15:36:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C842E160BC2; Mon, 15 May 2017 13:36:12 +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 E831D160BC1 for ; Mon, 15 May 2017 15:36:11 +0200 (CEST) Received: (qmail 8010 invoked by uid 500); 15 May 2017 13:36:11 -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 7993 invoked by uid 99); 15 May 2017 13:36:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2017 13:36:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 59149C05A7 for ; Mon, 15 May 2017 13:36:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.192 X-Spam-Level: **** X-Spam-Status: No, score=4.192 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, 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, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id kzFbBfJoKkh4 for ; Mon, 15 May 2017 13:36:08 +0000 (UTC) Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com [209.85.216.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2BDA95FC7E for ; Mon, 15 May 2017 13:36:08 +0000 (UTC) Received: by mail-qt0-f169.google.com with SMTP id f55so44759591qta.3 for ; Mon, 15 May 2017 06:36:08 -0700 (PDT) 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=5tILefFnUyaUjYGKt4CWewhyvMR39CrgzSlSD79eGK0=; b=d+ieMQDwsf8vFMU3FQgTmUDZ1rVvivjQUcNSC64S7xKTUu4wX2Iafmixqrzt5Z/iGF 8WYVbNXRyyKa+jAVmW0y1EA5IP4/hfPIGHQ7UaQd4rQltfJCuIfIRLZVHejFVBJz6oLW nkw+viQXC1E3MQSgN16XeaduBMpSr8/bFJbV+GCJHXFjOfvq2EzBN9q+JgOtFXRJhRQB EJx7TColIB4GGPqFULSd9neaWYRxNQ0vXt2MvTAcHayQXLryIopW8buI/oVsQru+e4Bm /FSWbEERN75rwPmNemYC7LQNh5nFReylZIeH+tlkaYpTFE1wuqiDs8eLpkyGAxAPlPXJ ag5A== 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=5tILefFnUyaUjYGKt4CWewhyvMR39CrgzSlSD79eGK0=; b=YCn5rmRXZzO5E0Rsr8xHUIn7zpG/eRZrqQxrEwDvl0A6xMyBA+85qGiEGaGw2liCHF 4noLQu+f9KDMVHT+ipNFz3bbmqPMOV1X2RMKN2CykmJsRwvkbQgdin9lFMs8XUt8CAYM VFWaU5PYB15jOYm8oYafyzw/cYcop/ysbZNcrDPqxu05M1GkvEg5FuCofjCPVa3PJPmJ Z+TjrJ0nMjsThCiIVAY67ncMn2K/hHqwJrODQzGVNcYd70XtV9S+ZQqmdACGzeTiBpg8 XuLHAzttn6Uq2OuRFYpmEE4EsNsPMv9ndOdWR0wmwd1+vAoVy8FAEKmtEwyNYEZeu35B s+0g== X-Gm-Message-State: AODbwcBv1SpJdIRQD9WgUAv0meHyPrEvZQKCYHIOiNke8HXYjEpIAaVQ 7ypD8LY/NntXihGShdPAJDm5Ark8uPQq X-Received: by 10.237.53.23 with SMTP id a23mr5207449qte.171.1494855367648; Mon, 15 May 2017 06:36:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.37.34 with HTTP; Mon, 15 May 2017 06:36:07 -0700 (PDT) In-Reply-To: References: <1491808789290-16317.post@n4.nabble.com> From: Vyacheslav Daradur Date: Mon, 15 May 2017 16:36:07 +0300 Message-ID: Subject: Re: Data compression in Ignite 2.0 To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="001a11c002162df1b8054f90232b" archived-at: Mon, 15 May 2017 13:36:13 -0000 --001a11c002162df1b8054f90232b Content-Type: text/plain; charset="UTF-8" I created the ticket: https://issues.apache.org/jira/browse/IGNITE-5226 I'll prepare a PR with described solution in couple of days. 2017-05-15 15:05 GMT+03:00 Vyacheslav Daradur : > Hi, Igniters! > > Apache 2.0 is released. > > Let's continue the discussion about a compression design. > > At the moment, I found only one solution which is compatible with querying > and indexing, this is per-objects-field compression. > Per-fields compression means that metadata (a header) of an object won't > be compressed, only serialized values of an object fields (in bytes array > form) will be compressed. > > This solution have some contentious issues: > - small values, like primitives and short arrays - there isn't sense to > compress them; > - there is no possible to use compression with java-predefined types; > > We can provide an annotation, @IgniteCompression - for example, which can > be used by users for marking fields to compress. > > Any thoughts? > > Maybe someone already have ready design? > > 2017-04-10 11:06 GMT+03:00 Vyacheslav Daradur : > >> Alexey, >> >> Yes, I've read it. >> >> Ok, let's discuss about public API design. >> >> I think we need to add some a configure entity to CacheConfiguration, >> which will contain the Compressor interface implementation and some usefull >> parameters. >> Or maybe to provide a BinaryMarshaller decorator, which will be compress >> data after marshalling. >> >> >> 2017-04-10 10:40 GMT+03:00 Alexey Kuznetsov : >> >>> Vyacheslav, >>> >>> Did you read initial discussion [1] about compression? >>> As far as I remember we agreed to add only some "top-level" API in order >>> to >>> provide a way for >>> Ignite users to inject some sort of custom compression. >>> >>> >>> [1] >>> http://apache-ignite-developers.2346864.n4.nabble.com/Data-c >>> ompression-in-Ignite-2-0-td10099.html >>> >>> On Mon, Apr 10, 2017 at 2:19 PM, daradurvs wrote: >>> >>> > Hi Igniters! >>> > >>> > I am interested in this task. >>> > Provide some kind of pluggable compression SPI support >>> > >>> > >>> > I developed a solution on BinaryMarshaller-level, but reviewer has >>> rejected >>> > it. >>> > >>> > Let's continue discussion of task goals and solution design. >>> > As I understood that, the main goal of this task is to store data in >>> > compressed form. >>> > This is what I need from Ignite as its user. Compression provides >>> economy >>> > on >>> > servers. >>> > We can store more data on same servers at the cost of increasing CPU >>> > utilization. >>> > >>> > I'm researching a possibility of implementation of compression at the >>> > cache-level. >>> > >>> > Any thoughts? >>> > >>> > -- >>> > Best regards, >>> > Vyacheslav >>> > >>> > >>> > >>> > >>> > -- >>> > View this message in context: http://apache-ignite- >>> > developers.2346864.n4.nabble.com/Data-compression-in- >>> > Ignite-2-0-tp10099p16317.html >>> > Sent from the Apache Ignite Developers mailing list archive at >>> Nabble.com. >>> > >>> >>> >>> >>> -- >>> Alexey Kuznetsov >>> >> >> >> >> -- >> Best Regards, Vyacheslav >> > > > > -- > Best Regards, Vyacheslav > -- Best Regards, Vyacheslav --001a11c002162df1b8054f90232b--