Asynchronous File-based Session Storage
Asynchronous File-based Session Storage combines excellent performance with the File-based Session Storage functionality. It has the same abilities, but file operations are asynchronous.
Each asynchronous storage creates a separated thread that is used to perform all file operations.
Switching to Asynchronous File-based Session Storage
To create a session with asynchronous file-based session storage, the
storageType parameter in the
Session(String, String, ProtocolVersion, Boolean, SessionStorageType, String) constructor should be set
to the AsyncFileBasedStorage value.
const bool keepSequenceNumbersBetweenFixConnections = true; var session = new Session("SenderCompID", "TargetCompID", ProtocolVersion.Fix44, keepSequenceNumbersBetweenFixConnections, SessionStorageType.AsyncFileBasedStorage);