-
Notifications
You must be signed in to change notification settings - Fork 357
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
Investigate EF Core 8 performance issues #1564
Comments
I also have a perfromance issue when using Identity Server with .NET 8. After that, I upgraded from IS4 to Duende Identity Server 7 + .NET8, but the perfromance issue is still there. |
@luckyboykg Do you have any performance metrics that indicates that your issue does indeed relate to the EF core issues? Or have you found something else? |
I can assure you the code base has stayed the same. I run Identity Server 4 or Duende Identity Server 7 in .NET 8 on Azure App Service, and the API response time generally is still slower, around ~1s-2s. I wonder if this performance issue relates to EF Core 8 or anything else from .NET 8 that is incompatible with the Duende Identity Server. |
EF Core 8 introduced the usage of OpenJSON for SQL Server query generation to improve query plan caching. That turned out to give unexpected performance because of how the SQL Server query engine handles the result of OpenJSON. See
dotnet/efcore#32394 for details.
This has been reported to give performance issues for customers that are using our EF implementations.
Investigate if this has such a high impact that we need to apply any kind of workaround in our implementation.
The text was updated successfully, but these errors were encountered: