[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]
One-way Remote ehcache  XML
Forum Index -> Ehcache
Author Message
umutert

neo

Joined: 07/09/2014 02:13:09
Messages: 1
Offline

We have an application server running as a pre-production server, using ehcache hibernate, spring... running quite fast. However on local development environment, the caching mechanism is absolute as each time we run the application on our locals. And it takes ages to run the applicaiton. Recently we came up with using the RMI cache peering functionality of ehcache idea. But this has to be one way which means that all the developers will have the pre-prod. server as the peer, however, the server will not peer with anyone (as it is not feasible).

Here is the server ehcache conf. (running on 10.6.44.225)

<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
properties="peerDiscovery=manual, rmiUrls=" />

<cacheManagerPeerListenerFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
properties="port=40003,socketTimeoutMillis=10000" />

any our local ehache conf.

<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
properties="peerDiscovery=manual, rmiUrls=//10.6.44.225:40002/AAA|//10.6.44.225:40002/BBB|//10.6.44.225:40002/CCC|..." />

<cacheManagerPeerListenerFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
properties="port=40001,socketTimeoutMillis=10000" />

Is it possible?
If so are the configurations correct for this purpose?

 
Forum Index -> Ehcache
Go to:   
Powered by JForum 2.1.7 © JForum Team