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 6981349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:08:45+00:00 2026-05-27T18:08:45+00:00

So in EhCache we have three major classes: Cache , CacheManager , and Store

  • 0

So in EhCache we have three major classes:

  • Cache,
  • CacheManager, and
  • Store

Under a replicated setup, which of these is actually being replicated? The Cache, the CacheManager or the Store? Calling a Cache‘s cache(K,V) method places that entry into whatever underlying Store it has been configured with (memory, disk, etc.), but then what replicated mechanism syncs this entry with other replicated mechanisms?

Once I understand that, I will be able to understand how those same “replicated mechanisms” change roles when we have a distributed cache configured. So my next question would be: under what circumstances would one choose replicated over distributed? Distributed seems to be the more powerful option all the way.

Final question: is replication and/or distribution available in the open source EhCache distro? From the documentation I can’t tell if EhCache uses the term “enterprise” as a synonym for “proprietary” or “licensed”.

  • 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-27T18:08:46+00:00Added an answer on May 27, 2026 at 6:08 pm

    Both replicated & distributed Ehcache are OSS. Enterprise comes with other features such as BigMemory & Active-Active Terracotta Server Array for example.

    Replicated does its best at replicating all data to all nodes, while distributed does … distribute the data across all nodes, while keeping the data that is relevant to your a particular node on it (as far as resources allow). Also atomic operations and the like are only available using distributed caches.

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

Sidebar

Related Questions

I am using ehCache to store larges amount of data. This cache is accessed
I have an ehcache setup, that works just fine, except that the persistent diskstore
I have a bean which I use to load cache. I give the key
I have a long-running EntityManager which I periodically clear(). I have a read-write cache
I'm trying to get EHCache to mark cache elements as expired if they have
I have Hibernate with 2nd level cache provided by Ehcache. I have Parent and
I have a problem where net.sf.ehcache.CacheManager appears returns invalid statistics. I'm using ehcache-core v2.3.2
Is it possible to use Ehcache Cache Server and have it be configured with
I've set up ehcache on our Java application, which uses Spring and Hibernate. However,
We are using EHCache with CF 8 to cache stuff on a central server

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.