NServiceBus.RavenDB 6.4.0 - Minor release available

Hi everyone,

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.

With thanks,
The team in Particular

Please read our release policy for more details. Follow @ParticularNews to be notified of new releases and bug fixes.