[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
if heartbeat between t1 and t2 is very long...can it cause queries to cache to take very long time  XML
Forum Index -> Ehcache
Author Message
mankind1

journeyman

Joined: 03/10/2011 02:42:13
Messages: 47
Offline

Hi :

here are two scenarios Im considering.


1.if the timeout settings betwenn t1 and t2 are high (hours) and t1 does a full garbage connection ( using CMS ) , will the tsa (t2) halt all other t1s that are requesting items from the cache untill the garbage collection has occured.


2. if non-stop caches are used and t1 is doing a full GC which lasts in excess of 10seconds, does the t2 (tsa) disconnect from the offending t1 and serve cached data to all other t1s.


thanks.
gyan10

ophanim

Joined: 06/28/2011 23:15:25
Messages: 700
Offline

1. No if one cleint(t1) is long GC, there is no effect on other t1s. TSA keep working with other t1s.
2.TSA discoonect t1 as per GC tolrence time set in HA settings and keep serving other t1s.

For non stop , please read ehcache doc:
http://ehcache.org/documentation/terracotta/non-stop-cache

Hope this will clear to you.
Cheers!!!

Gyan Awasthi
Terracotta -A Software AG company
 
Forum Index -> Ehcache
Go to:   
Powered by JForum 2.1.7 © JForum Team