
💹 Fintech & Capital Markets · Deployment · Pro
Where a stock broking platform runs: low-latency order systems co-located near the exchange, and customer apps and back office in the cloud.
Deployment diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.
Drawing diagram…
Broking platform deployment: customer web and mobile apps connect to API servers and a WebSocket market data service in AWS Mumbai. Orders go over a leased line to the order management system and risk engine in the exchange co-location data centre, which connect to NSE and BSE. Market data feeds flow back the same way. Back-office settlement and contract notes run in the cloud with PostgreSQL.
flowchart TB
U[Web and Mobile Apps] --> CDN[CDN and WAF]
subgraph AWS[AWS Mumbai]
API[Trading API Servers]
WS[Market Data WebSocket Servers]
BO[Back Office - settlement, contract notes]
PG[(PostgreSQL)]
RED[(Redis - quotes cache)]
end
subgraph COLO[Exchange Co-location]
OMS[Order Management System]
RMS[Risk Engine]
MDF[Market Data Feed Handler]
end
EX[NSE and BSE]
CDN --> API
CDN --> WS
API -->|Leased line| OMS
OMS --> RMS
OMS --> EX
EX --> MDF
MDF -->|Leased line| WS
WS --> RED
API --> PG
BO --> PGA digital lending app that takes a loan application from KYC to disbursal in minutes, using credit bureau data, bank statement analysis and e-mandates for repayment.
How a lender gets a customer's bank statements through India's Account Aggregator network: consent request, approval in the AA app, and encrypted data sharing.
How a Buy Now Pay Later option decides at checkout whether to approve a shopper and splits the purchase into instalments.
The states of a stock market order in a broking app, from placement through exchange matching to partial and full fills.
Tables for a loan book: borrowers, loan products, loans, repayment schedules, payments and collection actions.
How a monthly SIP in a mutual fund works behind an investment app: mandate debit, order to the exchange platform, NAV allotment and units credited.