match-rust provides a dual-track cryptocurrency matching engine in Rust with a Java-equivalent core for production and an experimental low-latency core, designed for contract and spot exchange systems.

Stars

77

7-day growth

No data

Forks

2

Open issues

0

License

Apache-2.0

Last updated

2026-07-22

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It offers both an equivalence track that mirrors a Java production engine and an experimental high-performance track with fixed-point arithmetic, price-level books, and cache-optimized data structures, enabling a clear comparison and gradual cutover.

Who it is for

  • Crypto exchange backend engineers
  • Rust systems programmers working on low-latency systems
  • High-frequency trading firms evaluating Rust for exchange components
  • DevOps teams managing exchange service migration

Use cases

  • Replacing existing Java-based matching engines with a Rust equivalent while preserving behavior
  • Building a new low-latency cryptocurrency exchange with high throughput requirements
  • Benchmarking and comparing matching engine implementations under realistic order flow
  • Experimenting with advanced optimizations like ART radix indexes and asynchronous WAL

Strengths

  • Dual-track architecture (match-core and match-core-hp) for both production stability and performance exploration
  • Comprehensive microbenchmarking with fair_compare and Criterion, plus published benchmark results
  • Rich documentation including architecture specs, cutover runbooks, and OSS best practices
  • Health endpoints and Prometheus metrics integration for operational readiness

Considerations

  • The high-performance engine (match-core-hp) is experimental and not the default production engine
  • RocketMQ transport adapter is not yet wired; only memory transport available
  • Spot shell is currently a stub with no implementation
  • Build requires nightly Rust 1.97.1+ and specific toolchain configuration

README quick start

Quick Start

Description

Rust dual-track crypto matching engines (Apache-2.0). Companion to lanpishu6300/crypto-exchange.

Related repositories

Similar projects matched by category, topics, and programming language.

m-novotny
Featured
m-novotny GitHub avatar

memguard-rs

A Rust library that provides secure memory handling primitives including zeroization on drop, memory locking, constant-time comparison, and compile-time guarded regions, with zero dependencies and no_std support.

Embedded & IoTSecurity
131
l0ng-ai
Featured
l0ng-ai GitHub avatar

tty7

tty7 is a fast, GPU-accelerated terminal workbench with persistent sessions, built-in input tools, SSH support, and coding agent awareness.

Developer ToolsCLI & Terminal
359
inbjo
inbjo GitHub avatar

MirrorProxy

MirrorProxy is a self-hosted, Rust-based mirror proxy platform with an embedded React admin console and cross-platform client for managing package sources.

Rust
204