• Version 1.15.2
Show / Hide Table of Contents

Memory-based Session Storage

Memory-based session storage is typically used to maintain a high-performance FIX session when persisting of a session state and messages to the file system is not required (e.g., a market data stream).

To create such a session, the storageType parameter in the Session(string, string, ProtocolVersion, bool, SessionStorageType, string) constructor has to be set to the MemoryBasedStorage value.

For example:

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