Persistence

NServiceBus needs to store data for various purposes, such as persisting the state of sagas, enabling the outbox, and for certain other transport features.

Features that require persistence

  • Sagas
  • Outbox
  • Subscriptions (Storage required if transport does not support native publish-subscribe)
  • Timeouts (Storage required if the transport does not support native delayed delivery)
  • Delayed Retries (Storage required if the transport does not support native delayed delivery)
  • Deferral (Storage required if the transport does not support native delayed delivery)
  • Gateway Deduplication

Selecting a persister

It can be a challenge to decide whether or not a persister is needed and which one is the best option for a specific scenario. See the guide to selecting a persister for help in making that decision.

Supported persisters

Community-maintained persisters

There are several community-maintained persisters which can be found in the full list of extensions.

Related Articles


Last modified