Skip to main content

Module band

Module band 

Source

Constants§

AMPLIFICATION_LIMIT
Practicable limits on the stream amplifier.
WIDTH_LIMIT
Practicable limits on the stream width.

Statics§

AMPLIFICATION 🔒
Stream throughput amplifier; this is a live value.
WIDTH 🔒
Stream concurrency factor; this is a live value.

Functions§

automatic_amplification
Used by stream operations where the amplification hasn’t been manually supplied by the caller. Instead we provide a computed value.
automatic_width
Used by stream operations where the concurrency factor hasn’t been manually supplied by the caller (most uses). Instead we provide a default value which is adjusted at startup for the specific system and also dynamically.
set_amplification
Sets the live concurrency amplification. The first return value is the previous width which was replaced. The second return value is the value which was set after any applied limits.
set_width
Sets the live concurrency factor. The first return value is the previous width which was replaced. The second return value is the value which was set after any applied limits.