exponential

fun exponential(maximumConcurrency: Int, minimumConcurrency: Int = 1, factor: Int = 2): ConcurrencyStrategy

Creates an exponential concurrency strategy that increases concurrency exponentially for each step.

Return

A ConcurrencyStrategy with an exponential increase strategy.

Parameters

maximumConcurrency

The maximum concurrency level allowed.

minimumconcurrency

The minimum concurrency level allowed (defaults to 1).

factor

The exponential factor (defaults to 2).