• Version 1.15.2
Show / Hide Table of Contents

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, bool, SessionStorageType, string) constructor should be set to the AsyncFileBasedStorage value.

For example:

const bool keepSequenceNumbersBetweenFixConnections = true;

var session = new Session("SenderCompID", "TargetCompID", ProtocolVersion.Fix44, keepSequenceNumbersBetweenFixConnections, SessionStorageType.AsyncFileBasedStorage);
In this article
Back to top Copyright © Onix Solutions.
Generated by DocFX