Documentation ¶
Index ¶
- Variables
- type Maglev
- func (*Maglev) Descriptor() ([]byte, []int)deprecated
- func (x *Maglev) GetConsistentHashingLbConfig() *v3.ConsistentHashingLbConfig
- func (x *Maglev) GetLocalityWeightedLbConfig() *v3.LocalityLbConfig_LocalityWeightedLbConfig
- func (x *Maglev) GetTableSize() *wrapperspb.UInt64Value
- func (*Maglev) ProtoMessage()
- func (x *Maglev) ProtoReflect() protoreflect.Message
- func (x *Maglev) Reset()
- func (x *Maglev) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_load_balancing_policies_maglev_v3_maglev_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Maglev ¶
type Maglev struct { // The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee. // Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same // upstream as it was before. Increasing the table size reduces the amount of disruption. // The table size must be prime number limited to 5000011. If it is not specified, the default is 65537. TableSize *wrapperspb.UInt64Value `protobuf:"bytes,1,opt,name=table_size,json=tableSize,proto3" json:"table_size,omitempty"` // Common configuration for hashing-based load balancing policies. ConsistentHashingLbConfig *v3.ConsistentHashingLbConfig `` /* 140-byte string literal not displayed */ // Enable locality weighted load balancing for maglev lb explicitly. LocalityWeightedLbConfig *v3.LocalityLbConfig_LocalityWeightedLbConfig `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
This configuration allows the built-in Maglev LB policy to be configured via the LB policy extension point. See the :ref:`load balancing architecture overview <arch_overview_load_balancing_types>` and :ref:`Maglev<arch_overview_load_balancing_types_maglev>` for more information.
func (*Maglev) GetConsistentHashingLbConfig ¶
func (x *Maglev) GetConsistentHashingLbConfig() *v3.ConsistentHashingLbConfig
func (*Maglev) GetLocalityWeightedLbConfig ¶
func (x *Maglev) GetLocalityWeightedLbConfig() *v3.LocalityLbConfig_LocalityWeightedLbConfig
func (*Maglev) GetTableSize ¶
func (x *Maglev) GetTableSize() *wrapperspb.UInt64Value
func (*Maglev) ProtoReflect ¶
func (x *Maglev) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.