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

Out-of-Box Provider for Hibernate L2 Cache #3002

Open
2 tasks
pirqur opened this issue Jan 24, 2025 · 2 comments
Open
2 tasks

Out-of-Box Provider for Hibernate L2 Cache #3002

pirqur opened this issue Jan 24, 2025 · 2 comments
Labels
Feature Additional feature, big or small Integration Issues involve integration with other software and tools. java issues and fixes related to the java client User issue Issue openned by users

Comments

@pirqur
Copy link

pirqur commented Jan 24, 2025

Describe the feature

Add native support for Glide as a L2 cache provider in Hibernate, offering a pre-configured, out-of-the-box solution that requires minimal setup.

Use Case

I have a spring application and using Hibernate. We are using Hibernate L2 cache. This feature request aims to develop a provider that can be used with Hibernate L2 cache out of the box.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Client version used

1.2.1

Environment details (OS name and version, etc.)

RHEL 8.7

@avifenesh
Copy link
Collaborator

Hi @pirqur :)
Thanks for reaching out!
That's a very interesting idea! Defiantly will look into it.

Would appreciate a bit more information to assess the feature and better understand.
Glide client-side caching is under development. If I compare it to Hibernate caching, the client-side cache is the L1 and on eviction or key space change (I'm not aware of the specifics of the design, I'm talking about the general logic) you'll the app the client will address to the Valkey server which is the L2 cache.
Is there any logical difference?
What is the reason not to use the Glide client-side caching directly, and to use it as a plugin of Hibernate? (I have a few answers in my head, but I'd like to get the real one).

On top of those questions, if it's fine by you, I would like to hear the nature of your Hibernate usage. (I understand it is ORM and what is the generic usage of ORM, but if you can give a bit more specific use case).

It would help to understand the feature, the need, and the requirements.

@avifenesh avifenesh added java issues and fixes related to the java client Feature Additional feature, big or small User issue Issue openned by users Integration Issues involve integration with other software and tools. labels Jan 24, 2025
@asafpamzn
Copy link
Collaborator

@pirqur which library are you using today?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Additional feature, big or small Integration Issues involve integration with other software and tools. java issues and fixes related to the java client User issue Issue openned by users
Projects
Status: No status
Development

No branches or pull requests

3 participants