-
I am using Ory hydra 1.10.2 , recently while checking logs we observered sometimes ory hydra apis takes more then 15 sec to serve the request. time="2021-09-01T22:48:23+10:00" level=info msg="started handling request" method=GET remote="" request="/oauth2/auth?acr=&client_id&login_verifier=&redirect_uri=&response_type=code&scope=openid+offline&state= I have masked few details for obvious reasons. Can someone help me understand , why hydra sometimes takes 15-20 (or more) sec to serve request, and immidiately next moment same apis responds instantly. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Make sure to configure BCrypt with a reasonable work factor or add more CPU, see: https://www.ory.sh/hydra/docs/benchmark/#bcrypt |
Beta Was this translation helpful? Give feedback.
Make sure to configure BCrypt with a reasonable work factor or add more CPU, see: https://www.ory.sh/hydra/docs/benchmark/#bcrypt