-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Performance: Implement DbContext pooling for high scale scenarios #6923
Comments
As OnConfiguring is never run, how is it possible to configure many different connectionstring at runtime using DbContext Pooling? |
@bryan07 DbContext pooling uses the same context instances with the same configuration and hence has the limitation that you cannot change that configuration. This means that right now the connection string cannot be changed. It may be possible to do this once #8427 and/or #8494 are implemented, but I don't think we have thought deeply about whether this will play well with pooling. |
The text was updated successfully, but these errors were encountered: