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

FEATURE: extract content subgraph inmemory caching #5244

Merged
merged 6 commits into from
Sep 13, 2024

Conversation

skurfuerst
Copy link
Member

@skurfuerst skurfuerst commented Sep 12, 2024

Resolves: #5243

This is not needed anymore because we are now able to flush caches properly because we are not asynchronous anymore
…lly, Does not store subgraphs anymore in memory, but return them on demand
@skurfuerst skurfuerst self-assigned this Sep 12, 2024
@skurfuerst skurfuerst added the 9.0 label Sep 12, 2024
@skurfuerst skurfuerst added this to the 9.0 (ES CR) milestone Sep 12, 2024
@skurfuerst skurfuerst force-pushed the 90-5243-extract-content-subgraph-inmemory-caching branch from 4fdbf0b to 66193dd Compare September 12, 2024 18:48
@skurfuerst skurfuerst force-pushed the 90-5243-extract-content-subgraph-inmemory-caching branch from 66193dd to 99f7cc9 Compare September 12, 2024 18:51
@skurfuerst skurfuerst marked this pull request as ready for review September 12, 2024 18:59
Copy link
Member

@bwaidelich bwaidelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love it, so many removals and simplifications!
+1 by reading

@bwaidelich bwaidelich merged commit 631f6d4 into 9.0 Sep 13, 2024
10 checks passed
@bwaidelich bwaidelich deleted the 90-5243-extract-content-subgraph-inmemory-caching branch September 13, 2024 13:56
@mhsdesign mhsdesign changed the title extract content subgraph inmemory caching FEATURE: extract content subgraph inmemory caching Sep 16, 2024
Comment on lines +207 to +211
$uncachedSubgraph = $contentRepository->getContentGraph($nodeAddress->workspaceName)->getSubgraph(
$nodeAddress->dimensionSpacePoint,
VisibilityConstraints::frontend()
);
$subgraph = new ContentSubgraphWithRuntimeCaches($uncachedSubgraph, $this->subgraphCachePool);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we probably need an api way of doing this as thats sometimes the case on the boundary where we dont have a $node yet and cannot use the cr registry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Extract Content Subgraph in-memory caching
3 participants