Client project
CompassRT
Every tick in. One calm frame out.
Take a closer look.
How the data flows
One market feed in, one update per symbol per second out
The starting point
Market feeds fire many trades a second. Repainting the screen for each one freezes the table and floods every browser with symbols it never asked for.
Where I came in
I built the Node.js streaming backend and the React trading grid: one shared upstream socket, RxJS batching on both sides, and Socket.IO rooms so each client only receives the symbols on its watchlist.
- 01
Keep one upstream market socket for everyone, and subscribe a symbol only while someone is watching it.
- 02
Buffer trades for one second and send only the newest trade per symbol.
- 03
Emit to a Socket.IO room per symbol, so a client never receives data it did not ask for.
- 04
Buffer again in the browser and apply AG Grid async transactions by row ID, so only changed rows repaint.
- 05
Ship a built-in simulator that fires a tick every 10 ms per symbol to load-test the same path.
A watchlist that stays smooth while trades stream in.
Upstream subscriptions that follow real demand: added on the first viewer, dropped when the room empties.
Node.js, Express, RxJS 7, Socket.IO 4, MongoDB, JWT, React 17, Redux Toolkit and AG Grid.
- Node.js
- RxJS
- Socket.IO
- React
- AG Grid
- MongoDB
Project lifecycle agents
AI agents
A product starts with a conversation.
Let’s have one