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

Two level cache service #2575

Open
RostislavKreisinger opened this issue Mar 2, 2023 · 0 comments
Open

Two level cache service #2575

RostislavKreisinger opened this issue Mar 2, 2023 · 0 comments
Labels
Enhancement New feature or request for change from user point of view In Backlog

Comments

@RostislavKreisinger
Copy link
Contributor

Describe the expected outcome of your requested feature

I would like a tool in the framework that serves as a replacement for a manually written local cache. A problem with manual programming of the local cache in the service is the frequent omission of emptying when clear is called on the entityManager. If entities are saved in the local cache, then they lose their reference after deleting the entity manager. An example is the local cache of currentCustomerUser and its associated subscriber on the onClear event.

A possible solution would be TwoLevelCacheService with invalidation resolved on onClearEvent.

If its use in the code would be sufficiently known and widespread, then in the future it can speed up the framework itself and prevent invalidation problems.

@pk16011990 pk16011990 added the Enhancement New feature or request for change from user point of view label Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request for change from user point of view In Backlog
Projects
None yet
Development

No branches or pull requests

2 participants