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 35D80200CF8 for ; Thu, 31 Aug 2017 05:49:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 342D9169D0A; Thu, 31 Aug 2017 03:49:53 +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 7BABD169CF5 for ; Thu, 31 Aug 2017 05:49:52 +0200 (CEST) Received: (qmail 71152 invoked by uid 500); 31 Aug 2017 03:49:50 -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 71141 invoked by uid 99); 31 Aug 2017 03:49:50 -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; Thu, 31 Aug 2017 03:49:50 +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 8830BC0CB6 for ; Thu, 31 Aug 2017 03:49:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.98 X-Spam-Level: ** X-Spam-Status: No, score=2.98 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-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] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=thelastpickle-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id rxVqBXFsqqgh for ; Thu, 31 Aug 2017 03:49:46 +0000 (UTC) Received: from mail-yw0-f181.google.com (mail-yw0-f181.google.com [209.85.161.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C106E5FCE2 for ; Thu, 31 Aug 2017 03:49:45 +0000 (UTC) Received: by mail-yw0-f181.google.com with SMTP id s143so39973025ywg.0 for ; Wed, 30 Aug 2017 20:49:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thelastpickle-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=fQQAx2DuQndEI7hc/d5503RIT9zsg3GGhQsB8irz1v8=; b=Jocap8IRRK0CmHC9+X7NEiPP5KJQx9tPkmbneEOiBoyUjDAzz51uFSGxAzmlziHrMl S4wgpewNef7YUlbtjLYmUKkjOFv/6Lz2eZGnt9JGcEbCgXhvGg7Ys2Ffr4kzWtJzr/v2 mmxZ3OS/EMUnDCoWItFW7ZKBIF4evs/gtwL1058i04tA6DjA418MqgZs0S/sBxt99ELd 4bkCkOrbsvszhGQGNlW6W42tXXaudENxOjqSh6AmgSXC5DzO/8ze4iSwcHK1XrXTFNnL 8UNQiYhw7zK64moaTuLX/IyNiCJXgR9lbdBfuKYjq8q39ZWU4jK4MHr1VwYaGNLGEnss Z3WA== 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=fQQAx2DuQndEI7hc/d5503RIT9zsg3GGhQsB8irz1v8=; b=JHegIjMtBqCiBvjT3sOz308jsC7y2DLiG4NHHhoyuTzlN+BHAxh/5HsMzgMOcH5ynr /268sLGsOTY4WYqiFkTMvsD+nm1LopR7JAP2j4hZt2wxwFbA3f5TKPp3ZkGbPDxjC3OU EDyZcDR9G+haI7qlIUAkNuZU6kCONagW+bEO7nLQY7sdLIBFRa+uypSlM3v3gYW4xiC9 A/1M5h1bABiY7sNUX+cmJrLj9KWLy0qgyoFbPRFT2ePhhZqNpjRd9ba9Jdu4Hx3ZNsVB +KrRijlyPmuBAKjdz9WlvWTr8B4PaYWxp3W0U6NvCOm7RJlI/Tdw0ToNv9RUVCPW2V6f Ulxg== X-Gm-Message-State: AHYfb5gl5MQeiGu+/jthUCqBovm/GQ4cZaPG7xJl8RqiETKrOA+eY0HJ yWGKYfxE3uUJX+LikYwcot9D988qvLMr564= X-Received: by 10.37.110.139 with SMTP id j133mr3101457ybc.76.1504151379081; Wed, 30 Aug 2017 20:49:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.239.197 with HTTP; Wed, 30 Aug 2017 20:49:38 -0700 (PDT) In-Reply-To: References: <2C796272-AA33-4F3F-9FB6-647F1F8616A0@ancestry.com> <4D1F07EC-EFE5-49BF-B30F-B6365C86A639@ancestry.com> <450A3663-C07D-4170-AC7C-0DFB6BBC6AC7@ancestry.com> From: Nate McCall Date: Thu, 31 Aug 2017 15:49:38 +1200 Message-ID: Subject: Re: system_auth replication factor in Cassandra 2.1 To: Cassandra Users Content-Type: multipart/alternative; boundary="001a1148b49ca396f305580488aa" archived-at: Thu, 31 Aug 2017 03:49:53 -0000 --001a1148b49ca396f305580488aa Content-Type: text/plain; charset="UTF-8" Regardless, if you are not modifying users frequently (with five you most likely are not), make sure turn the permission cache waaaayyy up. In 2.1 that is just: permissions_validity_in_ms (default is 2000 or 2 seconds). Feel free to set it to 1 day or some such. The corresponding async update parameter (permissions_update_interval_in_ms) can be set to a slightly smaller value. If you really need to, you can drop the cache via the "invalidate" operation on the "org.apache.cassandra.auth:type=PermissionsCache" mbean (on each node) to revoke a user for example. In later versions, you would have to do the same with: - roles_validity_in_ms - credentials_validity_in_ms and their corresponding 'interval' parameters. --001a1148b49ca396f305580488aa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Regardless, if you are not modifying users frequently (wit= h five you most likely are not), make sure turn the permission cache waaaay= yy up.=C2=A0

In 2.1 that is just: permissions_validity_i= n_ms (default is 2000 or 2 seconds). Feel free to set it to 1 day or some s= uch. The corresponding async update parameter (permissions_update_interval_= in_ms) can be set to a slightly smaller value. If you really need to, you c= an drop the cache via the "invalidate" operation on the "org= .apache.cassandra.auth:type=3DPermissionsCache" mbean (on each node) t= o revoke a user for example.=C2=A0

In later versions, yo= u would have to do the same with:
- roles_validity_in_ms
- credentials_validity_in_ms
and their corresponding &#= 39;interval' parameters.=C2=A0
--001a1148b49ca396f305580488aa--