Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
Description
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).
CASSANDRA-7715 is a more complete fix for this, but in the meantime (and even after 7715), this is a good option.
Attachments
Attachments
Issue Links
- is related to
-
CASSANDRA-14678 Propose reducing the default value for PasswordAuthenticator number of hashing rounds
- Resolved