loadbalance

package
v0.2500.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package loadbalance implements a runtime provisioner that internally load-balances requests among multiple runtime instances. This is especially useful on client nodes handling queries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHost added in v0.2500.0

func NewHost(id common.Namespace, instances []host.Runtime) host.Runtime

NewHost creates a new load balancer runtime host.

func NewProvisioner added in v0.2500.0

func NewProvisioner(inner host.Provisioner, numInstances int) host.Provisioner

NewProvisioner creates a load-balancing runtime provisioner.

Types

This section is empty.

Jump to

Keyboard shortcuts

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