Middleware - 5 Microservices · Modular
The connective tissue of your entire trading stack.
Five independently deployable, independently scalable micro-services, each handles one thing perfectly. Together they power authentication, OMS routing, real-time WebSocket delivery, alerting, and payments for the entire Primus™ ecosystem.
5
Microservices
100K+
WebSocket sessions
Modular
Deploy any combo
REST+WS+FIX
API protocols
• 5 Microservices
Independent. Scalable. Battle-tested.
Deploy individually or as a complete stack. Each service owns exactly one responsibility and does it exceptionally well.
Octopus – WebSocket Manager
Delivers all real-time data to connected clients at scale: market feeds, order updates, position changes, notifications, and system alerts. Handles 100K+ concurrent sessions from Day 0. Reconnection logic, heartbeats, and zero-data-loss session recovery built in.
Nightswatch – Alerting System
Real-time alerting across the entire platform. Tracks position thresholds, risk limit breaches, system failures, and latency anomalies. Delivers via WhatsApp, SMS, and email instantly.
Authentication Service
Enterprise-grade 2FA with TOTP, SMS, and biometric. Role-based access: Client, Dealer, Admin, Branch, Read-Only. JWT + Redis sessions. LDAP/SSO and OAuth 2.0 integration. Device fingerprinting.
Payment Gateway
Multi-provider fund management. Supports card, netbanking, wallet, UPI instant transfer, and IMPS. Real-time margin top-up notification. Automated EOD reconciliation.
API Gateway
Single entry point for all external traffic. REST, WebSocket, FIX, OAuth 2.0 authenticated and authorised with minimal overhead. Rate limiting, API versioning, developer sandbox and third-party API key management.