-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Evaluate HazelCast instead of Ehcache #30
Comments
There is a beta support for Hibernate 4.0 (https://github.com/hazelcast/hazelcast-hibernate4) and the last commit was 10 months ago. Should not be used in production. |
This project (https://github.com/data4j/DATA4J_Spring_Hazelcast_MapLoader) uses hibernate 4 and it doesn't complain on the hibernate 4. I will try it. |
Great! Be careful, I am refactoring the database configuration to go XML-less and change the connexion pool: I don't think there is much impact for you, and I will certainly commit this very soon. Concerning HazelCast, we should put it as an option in the Yeoman script, because this can have a huge impact. At the moment I'm thinking of 2 questions, in fact:
Are you OK with it? |
Yes. I will do it. |
Great! I'll affect you this ticket. Keep me updated :-) |
Actually I deactivated the GZip filter which is available with ehcache when HazelCast is selected. |
I had forgotten about this... 1 or 2 years ago I spent a lot of time to find a good GZip filter, and it's the only one I had found. |
@jdubois You could take a look at this project : https://github.com/nbartels/pjl-comp-filter . I've been using this filter in production for 3-4 years now and never had a problem. |
Thanks! It doesn't look widely used, but it seems to do the job. And it's available on the Maven Central Repo: |
The github page might be misleading. It's an ancient project, originally hosted on sourceforge, so the code has seen quite a bit of use over the years. |
* Setter should return the POJO, so it's easyer to chain the methods * Add handling of the 'entity'->'reference entity'->'field' in (...) queryies. For example 'Project -> ProjectType -> name' in ('software', 'hardware')
* Setter should return the POJO, so it's easyer to chain the methods * Add handling of the 'entity'->'reference entity'->'field' in (...) queryies. For example 'Project -> ProjectType -> name' in ('software', 'hardware')
Evaluate HazelCast as a replacement for Ehcache:
https://github.com/hazelcast/hazelcast/
PROs:
CONs:
Maybe this could be a new question in the Yeoman script? For instance:
The text was updated successfully, but these errors were encountered: