1. CLIENT LAYER
Client Layer
Multi-channel user interfaces for different user personas.
Web Portal
Responsive SPA for retail clients to view portfolios and execute trades.
Mobile App
Native application for on-the-go portfolio monitoring and alerts.
Advisor Dashboard
Complex terminal for wealth managers managing multiple client portfolios.
Institutional Portal
High-density data portal for institutional investors with advanced analytics.
2. API GATEWAY & SECURITY
API Gateway & Security
Secure entry point and routing layer for all incoming requests.
WAF
Web Application Firewall protecting against OWASP top 10 and DDoS.
API Gateway
Routes requests, handles SSL termination, and aggregates microservice responses.
Identity (OAuth 2.0)
Handles authentication, authorization, and SSO via OpenID Connect.
Rate Limiter
Throttles incoming requests to protect downstream services.
3. CORE MICROSERVICES
Core Microservices
Business logic and domain services handling wealth management operations.
Portfolio Management
Maintains current positions, asset allocations, and rebalancing logic.
Wealth Analytics
Calculates performance metrics, attribution, and risk-adjusted returns.
Order Management
Routes orders to execution venues, handles FIX protocol, and manages trades.
Risk Assessment
Computes Value at Risk (VaR), runs stress tests, and monitors exposure.
Client Management
Manages client profiles, KYC/AML status, and onboarding workflows.
Reporting Service
Generates periodic PDF statements, tax documents, and regulatory filings.
Fee Engine
Calculates AUM-based management fees and high-water mark performance fees.
Notification Service
Dispatches alerts, margin calls, and systemic events via Email/SMS/Push.
4. DATA & MESSAGING
Data & Messaging
High-throughput asynchronous communication and fast caching.
Event Bus (Kafka)
Distributed streaming platform for decoupled microservice communication.
Cache Layer
In-memory data structure store used for caching market data and sessions.
Search Index
Full-text search engine for rapid querying of trades and instruments.
5. DATA STORAGE
Data Storage
Persistent source of truth across relational, document, and time-series models.
Portfolio DB
Transactional store for accounts, positions, and trade history.
Client DB
Relational store for user profiles, permissions, and audit logs.
Market Data DB
High-ingest time-series database for tick data and end-of-day prices.
Document Store
NoSQL storage for unstructured data like generated PDFs and JSON.
Data Warehouse
Analytical storage for BI, reporting, and historical trend analysis.
6. EXTERNAL INTEGRATIONS
External Integrations
Third-party services, data providers, and regulatory endpoints.
Market Providers
Real-time feeds for equity, fixed income, and FX pricing.
Custodian Banks
Endpoints for prime brokers holding actual assets and executing clearing.
Regulatory APIs
Automated reporting endpoints for SEC, FINRA, and MiFID II compliance.
Payment Networks
Rails for fiat money movement, deposits, and withdrawals.
Rating Agencies
Credit rating ingestion for fixed income portfolio risk analysis.
7. INFRASTRUCTURE & OBSERVABILITY
Infrastructure & Observability
Underlying cloud resources and system monitoring stack.
Cloud Infra
Multi-region active-active deployment for high availability.
CI/CD Pipeline
Automated testing, security scanning, and deployment automation.
Monitoring
Metrics collection and dashboarding for system health.
Logging
Centralized logging and trace aggregation for debugging.