Backend Processing
The Core Processing Layer connects the data layer to the user application, handling business logic, user requests, and routing.
API Gateway & Routing
All external traffic is managed through a sophisticated gateway.
Reverse Proxy: Provides load balancing to distribute traffic evenly across servers.
Routing: Directs requests to the appropriate microservice (e.g., Trade Execution vs. Data Analytics).
Rate Limiting: Protects the infrastructure from DDoS attacks and API abuse.
Authority/Auth: Manages user sessions and permissions via JWT/Signature verification.
Application Layer Logic
This layer handles the complex business rules of the platform:
Order Matching (Off-chain relay): Pre-processing orders before on-chain submission.
Smart Routing: Calculating the optimal path for swaps (Split routing across DEXs).
User Portfolio Calculation: Aggregating assets across multiple chains into a single view.
Tech Stack
Cache: Redis Clusters.
Database: MySQL Clusters.
Communication: RESTful APIs & WebSockets (for real-time push updates).
Last updated
