cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-14497) Add Role login cache
Date Tue, 05 Jun 2018 09:45:00 GMT


Sam Tunnicliffe commented on CASSANDRA-14497:

I have a patch for this which is 90% done, but I haven't had time to finish off. I'll try
and put aside a few hours later this week and get it cleaned up & submitted.

> Add Role login cache
> --------------------
>                 Key: CASSANDRA-14497
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Auth
>            Reporter: Jay Zhuang
>            Priority: Major
> The [{{ClientState.login()}}|]
function is used for all auth message: [{{}}|].
But the [{{role.canLogin}}|]
information is not cached. So it hits the database every time: [{{}}|].
For a cluster with lots of new connections, it's causing performance issue. The mitigation
for us is to increase the {{system_auth}} replication factor to match the number of nodes,
so [{{local_one}}|]
would be very cheap. The P99 dropped immediately, but I don't think it is not a good solution.
> I would purpose to add {{Role.canLogin}} to the RolesCache to improve the auth performance.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message