tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r399749 - /tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
Date Thu, 04 May 2006 16:17:34 GMT
Author: fhanik
Date: Thu May  4 09:17:31 2006
New Revision: 399749

URL: http://svn.apache.org/viewcvs?rev=399749&view=rev
Log:
Added notes about adding soft membership failure detection

Modified:
    tomcat/container/tc5.5.x/modules/groupcom/to-do.txt

Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=399749&r1=399748&r2=399749&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Thu May  4 09:17:31 2006
@@ -40,6 +40,17 @@
  
 Code Tasks:
 ===========================================
+44. Soft membership failure detection, ie if a webapp is stopped, but
+    the AbstractReplicatedMap doesn't broadcast a stop message
+    This is one potential solution:
+    1. keep a static WeakHashMap of all map implementations running
+       so that we can share one heartbeat thread for timeouts
+    2. everytime a message is received, update the last check time for that
+       member so that we don't need the thread to actively check
+    3. when the thread wakes up, it will check maps that are outside
+       the valid range for check time, 
+    4. send a RPC message, if no reply, remove the map from itself
+
 43. Silent member, node discovery.
     Add in the ability to start up tribes, but don't start the membership broadcast
     component, only the listener



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message