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
Click to show internal directories.
Click to hide internal directories.