You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sam Tunnicliffe (JIRA)" <ji...@apache.org> on 2015/12/04 21:36:11 UTC

[jira] [Updated] (CASSANDRA-8085) Make PasswordAuthenticator number of hashing rounds configurable

     [ https://issues.apache.org/jira/browse/CASSANDRA-8085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sam Tunnicliffe updated CASSANDRA-8085:
---------------------------------------
    Component/s: Distributed Metadata

> Make PasswordAuthenticator number of hashing rounds configurable
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-8085
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8085
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Distributed Metadata
>            Reporter: Tyler Hobbs
>            Assignee: Sam Tunnicliffe
>             Fix For: 2.0.15, 2.1.5
>
>         Attachments: 8085-2.0.txt, 8085-2.1.txt, 8085-3.0.txt
>
>
> Running 2^10 rounds of bcrypt can take a while.  In environments (like PHP) where connections are not typically long-lived, authenticating can add substantial overhead.  On IRC, one user saw the time to connect, authenticate, and execute a query jump from 5ms to 150ms with authentication enabled ([debug logs|http://pastebin.com/bSUufbr0]).
> CASSANDRA-7715 is a more complete fix for this, but in the meantime (and even after 7715), this is a good option.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)