SEC-2521: Improve StandardPasswordEncoder Performance #2736
Labels
in: crypto
An issue in spring-security-crypto
type: enhancement
A general enhancement
type: jira
An issue that was migrated from JIRA
Milestone
pascal gehl (Migrated from SEC-2521) said:
My web application uses a StandardPasswordEncoder to match passwords in Basic Authentication.
Under heavy load (700 Http requests per second) org.springframework.security.crypto.password.Digester becomes a major source of contention in
At 700 HTTP requests per seconds this synchronized block has an average contention of 247 milliseconds with maximums of 1.18 seconds.
At 500 HTTP requests per seconds this synchronized block has an average contention of 28 milliseconds with maximums of 291 milliseconds.
I wonder if there is a non synchronized alternative to StandardPasswordEncoder ?
The text was updated successfully, but these errors were encountered: