Skip to content

anudeepx/exchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A fast, modular exchange backend written in Rust.

Rust GitHub stars Security License


❓ What's Exchange?

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.

❄️ Architecture

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
Loading

About

A Rust based backend service for a exchange

Resources

Stars

Watchers

Forks

Releases

No releases published