perf(store-and-forward): parallel per-target sweep lanes (cap 4), sequential within lane

This commit is contained in:
Joseph Doherty
2026-07-08 20:07:30 -04:00
parent 1459f9407f
commit 59d9cba621
3 changed files with 95 additions and 13 deletions
@@ -29,4 +29,10 @@ public class StoreAndForwardOptions
/// 0 = unlimited (legacy).
/// </summary>
public int SweepBatchLimit { get; set; } = 500;
/// <summary>
/// Max <c>(category, target)</c> lanes delivered concurrently per sweep.
/// 1 = legacy serial. Within a lane delivery stays sequential (per-target FIFO).
/// </summary>
public int SweepTargetParallelism { get; set; } = 4;
}