Skip to content
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

Implement an IDbContextFactory that pools context instances #21247

Closed
ajcvickers opened this issue Jun 12, 2020 · 0 comments · Fixed by #21431
Closed

Implement an IDbContextFactory that pools context instances #21247

ajcvickers opened this issue Jun 12, 2020 · 0 comments · Fixed by #21431
Labels
area-dbcontext closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Milestone

Comments

@ajcvickers
Copy link
Member

ajcvickers commented Jun 12, 2020

This is a further extension of #18575 implemented in #21246.

It should not be too hard to hook a factory into the existing pooling implementation.

ajcvickers added a commit that referenced this issue Jun 13, 2020
Fixes #21247

Uses the existing pooling code, although some divergence here could result in better perf, which could be relevant for high-throughput cases like SingleQuery.

Has the same restrictions as regular pooling since the context instances are reused.
@ajcvickers ajcvickers added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Jun 13, 2020
@ajcvickers ajcvickers self-assigned this Jun 13, 2020
@ajcvickers ajcvickers added this to the 5.0.0 milestone Jun 13, 2020
ajcvickers added a commit that referenced this issue Jun 13, 2020
Fixes #21247

Uses the existing pooling code, although some divergence here could result in better perf, which could be relevant for high-throughput cases like SingleQuery.

Has the same restrictions as regular pooling since the context instances are reused.
ajcvickers added a commit that referenced this issue Jun 14, 2020
Fixes #21247

Uses the existing pooling code, although some divergence here could result in better perf, which could be relevant for high-throughput cases like SingleQuery.

Has the same restrictions as regular pooling since the context instances are reused.
ajcvickers added a commit that referenced this issue Jun 14, 2020
Fixes #21247

Uses the existing pooling code, although some divergence here could result in better perf, which could be relevant for high-throughput cases like SingleQuery.

Has the same restrictions as regular pooling since the context instances are reused.
ajcvickers added a commit that referenced this issue Jun 15, 2020
Fixes #21247

Uses the existing pooling code, although some divergence here could result in better perf, which could be relevant for high-throughput cases like SingleQuery.

Has the same restrictions as regular pooling since the context instances are reused.
ajcvickers added a commit that referenced this issue Jun 15, 2020
Fixes #21247

Uses the existing pooling code, although some divergence here could result in better perf, which could be relevant for high-throughput cases like SingleQuery.

Has the same restrictions as regular pooling since the context instances are reused.
ajcvickers added a commit that referenced this issue Jun 27, 2020
Fixes #21247

Uses the existing pooling code, although some divergence here could result in better perf, which could be relevant for high-throughput cases like SingleQuery.

Has the same restrictions as regular pooling since the context instances are reused.
ajcvickers added a commit that referenced this issue Jun 27, 2020
Fixes #21247

Refactors the context pooling code to create a cleaner responsibility of services.

Has the same restrictions as regular pooling since the context instances are reused.
ajcvickers added a commit that referenced this issue Jun 28, 2020
Fixes #21247

Refactors the context pooling code to create a cleaner responsibility of services.

Has the same restrictions as regular pooling since the context instances are reused.
ajcvickers added a commit that referenced this issue Jun 28, 2020
Fixes #21247

Refactors the context pooling code to create a cleaner responsibility of services.

Has the same restrictions as regular pooling since the context instances are reused.
ajcvickers added a commit that referenced this issue Jun 28, 2020
Fixes #21247

Refactors the context pooling code to create a cleaner responsibility of services.

Has the same restrictions as regular pooling since the context instances are reused.
@ajcvickers ajcvickers modified the milestones: 5.0.0, 5.0.0-preview8 Jul 14, 2020
@ajcvickers ajcvickers modified the milestones: 5.0.0-preview8, 5.0.0 Nov 7, 2020
@ajcvickers ajcvickers removed their assignment Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dbcontext closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Projects
None yet
1 participant