We’ve just released NServiceBus.RavenDB 6.4.0.
- #533 Add support for pessimistic lease lock when handling sagas
Sagas pessimistic locking
In high contention scenarios, for example scatter-gather, saga performance may suffer due to a large number of message retries.
The performance decrease is caused by optimistic concurrency control forcing many messages related to the same saga instance to be retried multiple times. In some cases, retries may even be exhausted, and messages may end up in the error queue.
In such cases, pessimistic locking may be a better approach. With pessimistic locking, messages processing is serialized, and unnecessary retries are avoided.
Where to get it
You can install the new version from NuGet.
The team in Particular