Skip to content

uinb/galois

Repository files navigation

Galois

License GitHub Workflow Status (branch)

Introduction

Galois is an extremely high-performance matching engine written in Rust which uses event-sourcing pattern to handle tens of thousands of orders per second or even better.

The internal structure of Galois looks like below:


           sidecar   chain <-+
             ^         |      \
             |         |       \
             v         v        \
   +---->  server   scanner      +
   |          \       /          |
   |\          \     /           |
   | \          \   /            |
   |  +--     sequencer          |
   +              |              |
   |\             |              |
   | \            v              |
   |  +--      executor          |
   |              |              |
   |              |              |
   |              v              |
   +           rocksdb           +
    \           /   \           /
     \         /     \         /
      \       /       \       /
       +-- market committer -+

Galois works as the prover of Fusotao(a.k.a Proof of Matches). From v0.4, we don't support running Galois in standalone mode anymore.

NOTICE: The v0.7 is still under heavy development.

Documents

See Fusotao Docs.

How it works

See Fusotao Greebook.

License

Apache 2.0.