-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Milan Miladinovic edited this page Jul 19, 2021
·
4 revisions
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 would like to write a small web-app that uses the RustX program as a backend. If the frontend looks decent, I'll record some .gifs and might even upload it to another repo and provide a link. Then again, it might be worth providing a small demo app to show how one could build their own frontend to interact with RustX.