perf(historian): bounded-parallel per-tag drain (DrainConcurrency, default 8)
This commit is contained in:
@@ -477,7 +477,10 @@ public static class ServiceCollectionExtensions
|
||||
captureGate: resolver.GetService<IHistorizationRoleView>() is { } histRoleView
|
||||
? () => histRoleView.ShouldRecordHistorizedValues
|
||||
: null,
|
||||
maxWriteAttempts: continuousOptions.MaxWriteAttempts),
|
||||
maxWriteAttempts: continuousOptions.MaxWriteAttempts,
|
||||
// Bounded-parallel per-tag drain: the groups in one pass are independent
|
||||
// gateway round-trips, so a sequential pass costs `tags × latency`.
|
||||
drainConcurrency: continuousOptions.DrainConcurrency),
|
||||
ContinuousHistorizationRecorderActorName);
|
||||
registry.Register<ContinuousHistorizationRecorderKey>(continuousRecorder);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user