From user-return-64374-archive-asf-public=cust-asf.ponee.io@cassandra.apache.org Wed Aug 21 11:18:39 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id CD9BF180607 for ; Wed, 21 Aug 2019 13:18:38 +0200 (CEST) Received: (qmail 71532 invoked by uid 500); 21 Aug 2019 11:18:36 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 71521 invoked by uid 99); 21 Aug 2019 11:18:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2019 11:18:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 59EFC18105C for ; Wed, 21 Aug 2019 11:18:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.801 X-Spam-Level: * X-Spam-Status: No, score=1.801 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=zalando.de Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id GRBA0kpltojr for ; Wed, 21 Aug 2019 11:18:33 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::235; helo=mail-lj1-x235.google.com; envelope-from=oleksandr.shulgin@zalando.de; receiver= Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 983DE7DD38 for ; Wed, 21 Aug 2019 11:18:32 +0000 (UTC) Received: by mail-lj1-x235.google.com with SMTP id x18so1781104ljh.1 for ; Wed, 21 Aug 2019 04:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zalando.de; s=google; h=mime-version:from:date:message-id:subject:to; bh=eGgHM1+wTKWLBeJA7YLl+dS/0XXQ9m1ajpwutYdkJ7I=; b=OPfHBhxzPX026rGNYIyBltpdmKqblHbANGAM9T/dLCph0nzUsY/zykcJCshiG5pO8X jHCjXPadyrGz7O1+VRBtoNYcnDGBdm1JKpcAxnbgUSoUBO8R1Fr7Ke20FPgzxnLNPddL xYzk2k+4IBnhsjQshCGw0vPPgmouKHLiuQNNP9uNgInsv3UigRY0Vwm2xQuT+8YrsACE v8VLc1xnP9AWL+eB9bjvJ6XdrgVRmj1W12DDyHvqfl5GbvccFyQUa+gido50c9+/QRDS RrLsIR8oCxiwTjHzsFF1EpAhZ/+tfxPeUSbCscL4i3ikhV9euzzHNog9gNIr5rm1RcGh vSCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eGgHM1+wTKWLBeJA7YLl+dS/0XXQ9m1ajpwutYdkJ7I=; b=HmylSWGQ1jZG9IeJ/0d03CbUH+WiQM4IHRdKflBWa0wSRsISxKERPqe0j67YV+UdYC vTV1O7JnWP2ehEkMXDcb8HM+im5RlCo/GfLrGgPPbTHP/0cmLi2Xvgu4hhe4XnXvtHyW aYteNSj3uhUAPZwpCqrYwiKsv/l+7PhGlmAoYFgQlcNiVWRCkm2kgmubnGIClYUEHC2C 0e3suHwCoOr7zVYB42PJjFzWgmh8ueHdyRkF9SD8/M/0p+dGJjwCTPoEcDc06s8fwF/O hBLJcouJNF6CTASfc8tfrCTz63F9vCVej1bQjhakpJ7AjSA0A5DGgZG/+WqeT5LyS9ee q8Gw== X-Gm-Message-State: APjAAAW7RDDm1AL6+T+8Vf+O5e9A5G43XiLfuPbEBothyOxYI5gvXFe0 eMMBiBZKklTR1L10l3C+BNJNgqrv9rlkUgQnwbGC0nm5WhtsXw== X-Google-Smtp-Source: APXvYqzjAiiqIckjZ3lEuMUngFMcCjm7gkrlIVjZs8CKI8b9fKzzLDVfR/ixvPswDNOx+umMAcVib3AEX8v1UZi5zNg= X-Received: by 2002:a2e:b1c4:: with SMTP id e4mr17999907lja.101.1566386311297; Wed, 21 Aug 2019 04:18:31 -0700 (PDT) MIME-Version: 1.0 From: Oleksandr Shulgin Date: Wed, 21 Aug 2019 13:18:05 +0200 Message-ID: Subject: TWCS target number of time windows To: User Content-Type: multipart/alternative; boundary="000000000000aab4da05909ebb30" --000000000000aab4da05909ebb30 Content-Type: text/plain; charset="UTF-8" Hi, In the TWCS readme[1] it says: You should target fewer than 50 buckets per table based on your TTL. What is this recommendation based upon? The docs from Datastax[2], for example do not mention anything like that. Is the recommendation still actual today for the version 3.0.$latest? What is the computation complexity behind it: is it N, N*log(N) or N^2, etc.? Thank you. [1] https://github.com/jeffjirsa/twcs [2] https://docs.datastax.com/en/archived/cassandra/3.0/cassandra/dml/dmlHowDataMaintain.html#dmlHowDataMaintain__twcs -- Alex --000000000000aab4da05909ebb30 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

In the TWCS readme[1] it= says:

You should target fewer than 50 buckets per table based on your TTL.

What is this recommendation based upon?= =C2=A0 The docs from Datastax[2], for example do not mention anything like = that.

Is the recommendation still actual today for= the version 3.0.$latest?=C2=A0 What is the computation complexity behind i= t: is it N, N*log(N) or N^2, etc.?