Skip to content
Milan Miladinovic edited this page Jul 21, 2021 · 4 revisions

Welcome to the RustX wiki!

This is a work in progress. I intend to write about the following:

  • The RustX source files and their meaning (project structure).
  • Core architecture of the exchange, ex. using binary heaps to store orders in markets.
  • Caching users and their orders.
  • Using Redis for faster reads + all Redis keys/data types in use
  • Buffering writes to postgresql (non-blocking + concurrent writes to disk)
  • SQL Optimizations

This documentation serves several purposes, although the primary one is simple: I need a refresher on the big picture. I've worked on small details for a while and need to see how everything works together before converting the project to accept WSS/HTTP requests.

RustX is designed to be a backend. I don't plan to release a frontend within this repo, however I do plan on writing a basic web-app that uses the RustX program as a backend. While I may upload some gifs, or even host a demo app somewhere for free, I don't think it makes sense to provide a whole frontend as part of this repo. Since it might be a good idea to provide a small demo app to show how one could build their own frontend to interact with RustX, I may release one as a separate repo and link them together somehow.

Clone this wiki locally