ProxyWhirl Docs

Strategy Matrix

Rotation strategy matrix generated from proxywhirl.strategies.

Strategy Matrix

Generated reference. This page is derived from exported strategy classes in proxywhirl.strategies during pnpm --dir web run docs:generate. Edit web/scripts/generate-docs.mjs, not this MDX file.

9
Strategies
Concrete rotation classes
RoundRobin
Default
Balanced first choice
PerformanceBased
Fastest
EMA latency preference
Composite
Composable
Filter and select pipeline

Strategy Selection

StrategyUse WhenSource Summary
RoundRobinStrategyEven traffic spread with predictable ordering.Round-robin proxy selection strategy with SelectionContext support.
RandomStrategyLow-state routing where unpredictability matters.Random proxy selection strategy with SelectionContext support.
WeightedStrategyPrefer known-good proxies while keeping fallback diversity.Weighted proxy selection strategy with SelectionContext support.
LeastUsedStrategyAvoid hot-spotting individual proxies.Least-used proxy selection strategy with SelectionContext support.
PerformanceBasedStrategyFavor lowest observed latency using recent performance.Performance-based proxy selection using EMA response times.
SessionPersistenceStrategyKeep sticky sessions bound to stable proxy choices.Session persistence strategy (sticky sessions).
GeoTargetedStrategyRoute by country or region preference.Geo-targeted proxy selection strategy.
CostAwareStrategyBalance traffic against proxy cost metadata.Cost-aware proxy selection strategy.
CompositeStrategyBuild a custom filter-then-select rotation pipeline.Composite strategy that applies filtering and selection strategies in sequence.

Source Modules

ModuleStrategies
proxywhirl.strategies9

On this page