hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "ZooKeeper/GSoCFailureDetector" by AbmarBarros
Date Tue, 01 Jun 2010 18:49:15 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "ZooKeeper/GSoCFailureDetector" page has been changed by AbmarBarros.
http://wiki.apache.org/hadoop/ZooKeeper/GSoCFailureDetector?action=diff&rev1=4&rev2=5

--------------------------------------------------

  == Related JIRA ==
   * [[https://issues.apache.org/jira/browse/ZOOKEEPER-702|ZOOKEEPER-702]]
  
+ == Design decisions ==
+ 
+ ==== Should a failure detector instance (FD) run in a separate thread from the application?
====
+  * Drawbacks
+   * There will be another thread competing for CPU, and its inclusion should add some overhead.
+   * Concurrency issues must be handled.
+  * Benefits
+   * The FD will run in a more independent way, and it will notify the application of changes
using listeners or callbacks. If it runs in the same thread, the application must signal the
failure detector of changes, and also retrieve its status periodically. In other words, the
application code will be coupled to FD code.
+ 

Mime
View raw message