Expand description
Backend selection interfaces and algorithms
Modules§
- Implementation of algorithms for weighted selection
- Consistent Hashing
- Weighted Selection
Structs§
- An iterator which wraps another iterator and yields unique items. It optionally takes a max number of iterations if the wrapped iterator never returns.
Traits§
- An iterator to find the suitable backend
- BackendSelection is the interface to implement backend selection mechanisms.
- SelectionAlgorithm is the interface to implement selection algorithms.
Type Aliases§
- Consistent Ketama hashing on weighted backends
- FNV hashing on weighted backends
- Random selection on weighted backends
- Round robin selection on weighted backends