consistenthash

package
v0.24.48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2026 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Overview

Package consistenthash provides filters to change behavior of the consistentHash load balancing algorithm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConsistentHashBalanceFactor added in v0.13.77

func NewConsistentHashBalanceFactor() filters.Spec

NewConsistentHashBalanceFactor creates a filter Spec, whose instances set the balancer factor used by the `consistentHash` algorithm to avoid popular hashes overloading a single endpoint

func NewConsistentHashKey

func NewConsistentHashKey() filters.Spec

NewConsistentHashKey creates a filter Spec, whose instances set the request key used by the `consistentHash` algorithm to select backend endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL