Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Jump ¶
Jump implements the jump consistent hash algorithm from the paper "A Fast, Minimal Memory, Consistent Hash Algorithm" by John Lamping, Eric Veach (2014) http://arxiv.org/abs/1406.2294
func (*Jump) Get ¶
func (j *Jump) Get(path string) (*types.UpstreamAddress, error)
Get implements the balancing algorithm interface.
func (*Jump) Set ¶
func (j *Jump) Set(buckets []*types.UpstreamAddress)
Set implements the balancing algorithm interface.
Click to show internal directories.
Click to hide internal directories.