• Programming Guide
  • Api Documentation
  • OnixS CME iLink3 Handler for .NET Core, version 1.4.2
Show / Hide Table of Contents
  • Introduction
  • System Requirements
  • Getting Started
    • Error Reporting
    • Licensing
    • SBE Message
      • Tag-based Messaging
      • Message Fields
      • Repeating Groups
    • iLink 3 Session
      • Universally Unique Identifier
      • Establishing iLink3 Connection
      • Exchanging Messages
      • Message Sequence Numbers
  • Configuring the Handler
    • Configuration File Examples (XML or JSON)
  • Logging
  • Session Storage
    • File-Based Session Storage
    • Memory-based Session Storage
    • Asynchronous File-Based Session Storage
    • Pluggable Session Storage
  • Advanced Programming
    • Thread Safety
    • Session Initialization and Binding
    • Session States
    • Listening to Session Events
    • Handling NotApplied Messages
    • Handling Business Reject Messages
    • Automated Downloading of GTC and GTD Orders
    • Reconnection
    • Fault Tolerance
    • Understanding Send Latency
    • Strongly Typed Messages
  • Best Practices
    • Low Latency Best Practices
  • Glossary
  • Support

Memory-based Session Storage

Memory-based session storage is typically used to maintain a high-performance iLink 3 session when the persisting of a session state and messages to the file system is not required.

Switching to Memory-based Session Storage

To create such a session, the storageType parameter in the Session(SessionSettings, Int32, SessionStorageType, UInt64, String) constructor has to be set to the MemoryBasedStorage value.

For these purposes, storageType parameter of the Session(SessionSettings, Int32, SessionStorageType, UInt64, String) constructor is available. Once MemoryBasedStorage value will be specified as the value for the storageType parameter, session-related data will be logged into memory.

Example

SessionSettings settings = new SessionSettings();

using (Session session = new Session(settings, marketSegmentId, SessionStorageType.MemoryBasedStorage))
{
}
In This Article
Back to top Copyright © Onix Solutions.
Generated by DocFX