Persistence In NServiceBus

Various features require persistence.

Storage Types

Available Persistences

Learning Persistence

The Learning Persistence simulates saga persistence infrastructure by storing data in the local file system. All files and directories are relative to the current project directory.

In-Memory

A volatile RAM based storage mainly used for development purposes. Can also be used where the storage is not required to persist between process restarts.

SQL Persistence

Uses Json.NET to serialize data and store in a SQL database.

Azure Storage

Uses Azure Tables Storage for storage.

RavenDB

Uses the RavenDB document database for storage.

Service Fabric

A persister built on top of Service Fabric Reliable Collections.

NHibernate

Uses custom NHibernate to persist data to an ADO.net data store (e.g. SQL Server).

MSMQ

A subscription only storage on top of MSMQ.

Community run Persistences

There are several community run Persistences that can be seen on the full list of Extensions.

Related Articles


Last modified