How santif/ex_fix works
Main Components
a. Core FIX Engine Components:
• Session Management Layer
• Message Processing Layer
• Protocol Handling Layer
• Dictionary Management
• Transport Layer
b. External Interfaces:
• FIX Client Applications
• FIX Counterparties (Sell-side systems)
• SSL/TCP Connection Layer
[Application Layer]
[Session Layer]
[Message Processing Layer]
[Transport Layer]
Component Details
a. Session Management (Primary Focus):
• It to multiple Session Workers
• Session Supervisor hierarchy
• Session Timer component
b. Message Processing:
• Parser and Serializer components
• Dictionary component
• Message flow (InMessage and OutMessage)
c. Connection Handling:
• SSL/TCP transport layer
• Reconnection logic
Specific Implementation Elements
• ExFix.Session
• ExFix.SessionWorker
• ExFix.SessionRegistry
• ExFix.Parser
• ExFix.Serializer
• ExFix.Dictionary
Flow Directions
• Incoming messages: bottom-to-top
• Session management: bi-directional
Implementation Details
Notes about:
• FIXT.1.1 protocol support
• Session validation points
• Auto-reconnection mechanism
• Message validation steps
Extension points
Remember to maintain a balance between showing enough detail to understand the system while keeping it clean and readable. Focus on the session initiator functionality since that's the current implementation scope.
• How messages flow through the system
• Where validation occurs
• How sessions are managed
• How the two-phase parse optimization works
• Where to add new features or modifications