Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ehcache multiple JVM - opensource?

Hey I'm currently running ehcache with spring in tomcat. I have a couple webs servers running their own instance of ehcache which I want to now moved to a shared/distributed cache. Im not looking to use a commercial license just yet until we are happy with its performance and need more formal support while we scale out.

What has me confused is the ehcache/teracotta site. All the documentation seems geared towards running ehcache cache withing a teracotta server which I can then have my webservers connect to by updating my ehcache config files... however it seems like the instructions are for using a commercial version?

I dont really need the clustering now ( and can understand if that is part of an enterprise license) but I had thought that I can setup an opensource distributed cache instance? Does anyone have any links to a how to? Or just general instructions on how to move from the embedded instance to a shared instance?

like image 950
Prem Avatar asked Nov 06 '22 05:11

Prem


1 Answers

You can set up an open source terracotta server (the maven repo is described here: http://terracotta.org/confluence/display/docs330/Maven) -- but, you might want to look at RMI based distribution of ehcache instead. It seems to be more lightweight, in that you don't need a server that all nodes connect to, and you don't need to run their java bytecode instrumentation wrapper.

like image 172
javabytes Avatar answered Nov 09 '22 08:11

javabytes