custom-strategy

command
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package main demonstrates how to implement custom strategies for Helix.

This example shows how to create custom: - ReadStrategy: Weighted routing based on cluster performance - WriteStrategy: Primary-preferred writes with fallback - FailoverPolicy: Threshold-based failover decision

Running

go run main.go

Jump to

Keyboard shortcuts

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