Skip to content

Ensure only one storage service factory gets created per workspace.#57513

Merged
CyrusNajmabadi merged 8 commits intodotnet:mainfrom
CyrusNajmabadi:oneSqliteService
Nov 2, 2021
Merged

Ensure only one storage service factory gets created per workspace.#57513
CyrusNajmabadi merged 8 commits intodotnet:mainfrom
CyrusNajmabadi:oneSqliteService

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

@CyrusNajmabadi CyrusNajmabadi commented Nov 1, 2021

The problem with the exsiting approach is that we kept getting fresh 'storage service' instances. This meant there was no caching of hte actual 'storage' instance, so we were recreating that instance every time. This was particualr expensive due to how costly it is currently to make a storage instance. That cost though is also heavily mitigate here: #57511

@CyrusNajmabadi CyrusNajmabadi requested review from a team as code owners November 1, 2021 23:50
@ghost ghost added the Area-IDE label Nov 1, 2021
@CyrusNajmabadi CyrusNajmabadi requested a review from genlu November 2, 2021 00:30
@CyrusNajmabadi CyrusNajmabadi merged commit 1d4756c into dotnet:main Nov 2, 2021
@ghost ghost added this to the Next milestone Nov 2, 2021
@allisonchou allisonchou modified the milestones: Next, 17.1.P2 Nov 30, 2021
@CyrusNajmabadi CyrusNajmabadi deleted the oneSqliteService branch February 1, 2022 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants