loadbalance

package
v0.2400.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 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 New

func New(inner host.Provisioner, cfg Config) host.Provisioner

New creates a load-balancing runtime provisioner.

Types

type Config

type Config struct {
	// NumInstances is the number of runtime instances to provision.
	NumInstances int
}

Config is the configuration for the runtime load balancer.

Jump to

Keyboard shortcuts

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