[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Ehcache vs Terracotta Toolkit cache  XML
Forum Index -> General
Author Message
flagjoel

neo

Joined: 04/05/2013 09:42:55
Messages: 1
Offline

We have been using in-process ehcache for development, but as we prepare for production deployment we are converting to use a cache server. I have been doing testing with the last open source release of Terracotta Server (3.7.5) and also with the open source Big Memory MAX product. For our modest needs (distributed/replicated cache of relatively few small objects) both seem more than adequate.

In working with Big Memory MAX I am confused by the difference (if any) between caches created using CacheManager and those created and configured with the Terracotta Toolkit. Is there a difference and is one preferred over the other ?

- Joel -
teck

seraphim
[Avatar]
Joined: 05/24/2006 15:03:25
Messages: 1128
Offline

I'm not one who can provide an "official" answer on this topic, but I think whichever interface suits you better (ehcache or the toolkit) would be the dominant factor here. There isn't a lot of difference between a terracotta clustered cache instance from ehcache when compared to a toolkit cache (at least for basic put/get type behavior).

hope this helps.


Tim Eck (terracotta engineer)
klalithr

consul

Joined: 01/23/2011 10:58:07
Messages: 489
Offline

A lot depends on your usecase but I use the Ehcache API for a couple of reasons
a) More control for eviction/expiration
b) Easier scale options using BigMemory

HTH!

Karthik Lalithraj (Terracotta)
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team