perf(runtime): raise opcua pinned dispatcher throughput 1 -> 100
This commit is contained in:
@@ -109,8 +109,15 @@ akka {
|
||||
# Pinned dispatcher used by OpcUaPublishActor (Task 44) so the OPC UA SDK sees
|
||||
# only one thread per actor instance — its session/subscription locks expect
|
||||
# strict single-threaded access.
|
||||
#
|
||||
# throughput is NOT what provides that guarantee: the PinnedDispatcher does, by
|
||||
# giving the actor its own dedicated thread. throughput only sets how many queued
|
||||
# messages drain per scheduling run, so 100 removes a mailbox re-schedule
|
||||
# round-trip per message on the hottest actor in the process with zero change to
|
||||
# concurrency. Must stay in sync with the inline HOCON copy in
|
||||
# ServiceCollectionExtensions.WithOtOpcUaRuntimeActors.
|
||||
opcua-synchronized-dispatcher {
|
||||
type = "PinnedDispatcher"
|
||||
executor = "thread-pool-executor"
|
||||
throughput = 1
|
||||
throughput = 100
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user