Expand description
Backend selection interfaces and algorithms
Modules§
- algorithms
- Implementation of algorithms for weighted selection
- consistent
- Consistent Hashing
- weighted
- Weighted Selection
Structs§
- Unique
Iterator - 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§
- Backend
Iter - An iterator to find the suitable backend
- Backend
Selection - BackendSelection is the interface to implement backend selection mechanisms.
- Selection
Algorithm - SelectionAlgorithm is the interface to implement selection algorithms.
Type Aliases§
- Consistent
- Consistent Ketama hashing on weighted backends
- FNVHash
- FNV hashing on weighted backends
- Random
- Random selection on weighted backends
- Round
Robin - Round robin selection on weighted backends