| AggTPSThreadManager is a refinement of the TPSTM; it attempts to
schedule stages to improve aggregation. The basic algorithm is to
maintain a tunable "aggregation target", the minimum queue size
threshold which triggers the execution of a stage's handler. This
aggregation target is increased when more than 1 stage can meet
the target, and reduced when no stages can meet it. A target of 1
is equivalent to the TPSTM algorithm.
author: Matt Welsh |