Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 826593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:26:22+00:00 2026-05-15T03:26:22+00:00

Not really a question but I’m looking for comments/suggestions from anyone who has experiences

  • 0

Not really a question but I’m looking for comments/suggestions from anyone who has experiences using one or more of the following:

  • EhCache with RMI
  • EhCache with JGroups
  • EhCache with Terracotta
  • Gigaspaces Data Grid

A bit of background: our applications is read only for the most part but there is some user data that is read-write and some that is only written (and can also be reasonably inaccurate). In addition, it would be nice to have tools that enable us to flush and fill the cache at intervals or by admin intervention.

Regarding the first option – are there any concerns about the overhead of RMI and performance of Java serialization?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T03:26:23+00:00Added an answer on May 15, 2026 at 3:26 am

    I’m working with EhCache for Hibernate and for application level cache since 3 years ago.
    We use it with RMI for cache invalidation and it works really good. If you use the cache for replication you should take care about the object graph, it could turn very heavy with high cardinality relations.

    If you use EhCache for Hibernate you could use it for Query cache (it’s a good improvement for read-only tables) and it the table is modified it cleans the cache automatically.
    Using EhCache to cache collections is a good idea too, to avoid joins a sub-selects.

    To clean the caches at time intervals you could implement a cache extension of EhCache that cleans the caches. We did it, it works well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're using gwt-presenter, but not really a question specific to that... I've got a
Not really an immediate source code question per se....but Im looking into doing some
This is not really a programming question but please bear with me as I
This is not really a question because I just solved the problem, but I
This is not a really Programming Question, but please bear with me as it's
The question below is not really a programming question, but more of how can
I know this might seem a controversial question but it really is not meant
I'm working on an ASP.NET website (MVC3 but not really important for my question)
I already asked a similar question, PE Header requirements , but I'm not really
This is really more of a serverfault/IT question, but I am not part of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.