java - SwarmCache Hibernate configuration -


could hint me how configure swarmcache hibernate work in cluster (distributed cache)? there other alternatives (please, don't suggest jboss cache)?

actually, don't know why hibernate documentation (see 19.2. second level cache) doesn't mention them cluster safe both oscache , ehcache usable in clustered environments. because hibernate doesn't officially supports them. nevertheless, know both work in distributed environment because did ehcache , matt raible did oscache (patching hibernate recommended though). check out matt's blog post oscache vs. ehcache hibernate's 2nd level cache, it's informative.

back question now... it's hard give precise answer didn't give details on requirements , constraints take account that:

  • jgroups is toolkit reliable multicast communication (note doesn't mean ip multicast, jgroups can use transports such tcp).
  • my understanding of previous point using jboss cache isn't excluded (see this matrix related jgroups version). option.
  • swarmcache seems dead (zero activity since november 2003!) , doesn't have resources available on internet, wouldn't use it.
  • oscache (invalidating) supports jgroups , jms broadcast protocol. option.
  • ehcache supports terracotta, rmi, jgroups, jms, cache server distribution mechanisms , supports both invalidation , replication. option.

now, without more details (replication vs invalidation? cache concurrency strategy support need? restrictions?), can't more.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -