A fast, modular exchange backend written in Rust.
Exchange is a high-performance, modular exchange system designed for speed, security, and scalability.
Built in Rust, it leverages memory safety and concurrency to deliver reliable APIs for order matching, user authentication, and state management.
It is designed as a pluggable architecture:
- Separate crates/modules for authentication, Redis integration, matching engine, and APIs.
- Easy to extend for new assets, trading pairs, or persistence backends.
flowchart LR
Client[Client]
LB[Load Balancer]
API1[API Service]
API2[API Service]
API3[API Service]
Queue[Message Queue]
Engine[Matching Engine]
DB[(PostgreSQL)]
WS[WebSocket Service]
Backup[(Event Log Backup)]
Client --> LB
LB --> API1
LB --> API2
LB --> API3
API1 --> Queue
API2 --> Queue
API3 --> Queue
Queue --> Engine
Engine --> DB
Engine --> WS
Engine --> Backup