Documentation
¶
Overview ¶
Package routing implements sticky leader selection for (org, namespace, taskQueue) triples. The leader is the validator whose hash(org|ns|tq|seed) is smallest in the current validator set; on membership change the table is recomputed and a MembershipChanged event lets the dispatcher re-target subscribers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeID ¶
type NodeID string
NodeID is the validator id used by the router. Wire is opaque; in practice this is the same identifier the consensus engine uses.
Click to show internal directories.
Click to hide internal directories.