How IServiceDiscovery.pick chooses among healthy instances.
round-robin— a per-service cursor, taken modulo the current count.random— uniform.weighted-random— proportional toServiceInstance.weight.
How IServiceDiscovery.pick chooses among healthy instances.
round-robin — a per-service cursor, taken modulo the current count.random — uniform.weighted-random — proportional to ServiceInstance.weight.import { type LoadBalanceStrategy } from "common/src/index.ts";