-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with TimeoutException During Load Testing (Duende Identity Server 7 + Postgres OperationalStore) #1482
Comments
I think this can be related to the DuendeSoftware/products#1564 |
The exception is thrown in the ADO.NET data provider for PostgreSQL. Probably this isn't IdentityServer or even EF related. The database itself just can't keep up it seems. Should you still come to the conclusion this is related to IdentityServer, please report back so we can investigate further. |
We also had some memory related problems with this provider lately. Turning on connection pooling helped.
This may or may not help in your case but it's worth a try. |
Thank you for the suggestions. Unfortunately, they didn’t resolve the issue. I’d like to highlight that this problem did not occur with .NET 6 and Duende version 6.2.3. At that time, everything worked as expected, and the queries performed quickly. The slowdown started after upgrading, and it only affects queries related to Duende. All our other queries to the database work fine. |
The issue was on our side.
Thank you for your help. I'm closing the ticket. |
Which version of Duende BFF are you using?
Duende Identity Server 7.0.7
Which version of .NET are you using?
.NET 8.0
Describe the bug
While conducting load testing with up to 50 simulated users (10 new users per second), we encounter a TimeoutException during the /connect/token request when the number of users increases
To Reproduce
Expected behavior
We expected the system to handle the requests without timing out as the load increases
Log output/exception with stacktrace
Additional context
We would like to understand if this is a typical issue when performing load testing under these conditions, or if we may have missed something in our configuration. Could you kindly provide any advice or recommendations on how we could address this problem and optimize the system for higher traffic?
Thank you for your support, and we look forward to your guidance.
The text was updated successfully, but these errors were encountered: