You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Josh McKenzie (Jira)" <ji...@apache.org> on 2021/09/15 14:15:00 UTC
[jira] [Created] (CASSANDRA-16958) Prewarm role and credentials
caches to avoid timeouts at startup
Josh McKenzie created CASSANDRA-16958:
-----------------------------------------
Summary: Prewarm role and credentials caches to avoid timeouts at startup
Key: CASSANDRA-16958
URL: https://issues.apache.org/jira/browse/CASSANDRA-16958
Project: Cassandra
Issue Type: Improvement
Components: Feature/Authorization
Reporter: Josh McKenzie
Assignee: Josh McKenzie
With our current auth querying setup, you can end up with a thundering herd on reconnect due to delays on auth resolution.
We should instead allow the ability to do a 'select' on all roles and pre-load the cache before turning on native transport. Notably, this could present some unacceptable delays on start with a very large count of users (thousands), or someone who uses a third party auth system rather than the built-in authorizer so this should be configurable and opt-in.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org