You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Henry Robinson (JIRA)" <ji...@apache.org> on 2009/11/11 19:38:39 UTC
[jira] Created: (ZOOKEEPER-578) ResponderThread should be able to
use TCP or UDP
ResponderThread should be able to use TCP or UDP
------------------------------------------------
Key: ZOOKEEPER-578
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-578
Project: Zookeeper
Issue Type: Improvement
Components: server
Affects Versions: 3.2.1
Reporter: Henry Robinson
Assignee: Henry Robinson
The ResponderThread, which responds to inquiries for the current leader, currently only uses UDP. It also only runs for electionAlg=0.
Observers will eventually require that a ResponderThread runs for all election types. However, this introduces a UDP dependency which some installations do not want. This would also allow such installations to use electionAlg=0 (although this is not a big win as it is the least sophisticated election algorithm).
Therefore we should be able to toggle ResponderThread to use either TCP or UDP. Since UDP is more performant, it probably makes sense to retain it. So I propose to choose between the two at startup time using a configuration flag responderTCP=true.
Fixing this issue exposed ZOOKEEPER-569, on which this JIRA depends.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.