Cloud Bigtable V2 API - Class Google::Cloud::Bigtable::V2::LoadBalancingOptions::PeakEwma (v1.13.0)

Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::LoadBalancingOptions::PeakEwma.

Balances vRPCs over backends, by maintaining a moving average of each AFE's round-trip time, weighted by the number of outstanding vRPCs, and distribute traffic to AFEs where that cost function is smallest.

See: https://linkerd.io/2016/03/16/beyond-round-robin-load-balancing-for-latency

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#random_subset_size

def random_subset_size() -> ::Integer
Returns
  • (::Integer) — Of all connected AFEs, the size of the random subset to compare costs over. Zero implies all connected AFEs.

#random_subset_size=

def random_subset_size=(value) -> ::Integer
Parameter
  • value (::Integer) — Of all connected AFEs, the size of the random subset to compare costs over. Zero implies all connected AFEs.
Returns
  • (::Integer) — Of all connected AFEs, the size of the random subset to compare costs over. Zero implies all connected AFEs.