Concurrency handling

Component: SQL Server Transport | Nuget: NServiceBus.SqlServer (Version: 3.x)
Target NServiceBus Version: 6.x

SQL Server transport maintains a dedicated monitoring thread for each input queue. It is responsible for detecting the number of messages waiting for delivery and creating receive tasks - one for each pending message.

The maximum number of concurrent tasks will never exceed MaximumConcurrencyLevel. The number of tasks does not translate to the number of running threads which is controlled by the TPL scheduling mechanisms.


Last modified