
cooking 🕶️ prev @indexcoop @bloomcbt @freeletics
Outer Rim
Joined May 2012
- Tweets1.3K
- Following3.1K
- Followers582
- Likes22.2K
Currently experimenting with a new open-position screen for my hyperliquid trading app.
After building the Rust order book, I went back to the order book in my personal Hyperliquid iOS trading app applying some of those learnings.
Live Hyperliquid depth, tap a level to set TP/SL, zoom $0.1 → $100. Entry, TP, SL and liq sit on the ladder.
In a recent system design interview I was asked how I'd build an exchange-style order book, matching engine included.
Naturally, I had to actually build one to learn how it really works. 🧵
Biggest learning: measure first before optimizing. almost all of the lag is not the code.
~0.3 s is the source's own delay before data reaches the service. The engine adds tens of milliseconds (batching, waiting for all 7 feeds), the code itself under one.
Code, measurements and trade-offs: github.com/janndriessen/orde…
If you've built or run a real matching engine or market data system, I'd love your feedback. What would you have done differently?
Trade-offs, on purpose:
• public price levels instead of running a Hyperliquid node, so queues are synthetic
• one engine, no journal or replicas
• JSON over WebSocket, not a binary feed
All listed in the README, next to how production systems do it.
Some numbers:
• ~10M commands/s in the matcher (~100 ns each)
• ~0.2 ms of compute per live update, end to end
• ~83 ms behind Hyperliquid's own feed when run locally
• identical to Hyperliquid's own book on 28 of 28 updates compared side by side
a weird inversion with LLMs is the models improve faster than the tinkerers
when i see people with custom workflows and setups they're all addressing problems that don't exist anymore
the person naively using vanilla codex is more likely to be experiencing state of the art
I'm usually not a hype guy but Sonnet 5.5: youtube.com/watch?v=N03Ho4VM…
JD🕶⚡️ retweeted
Humanity is $COOKED.
Unless we change course.
We're live: a meme coin bringing attention to Al existential risk-and ways to act.
Come for the memes. Stay for the evidence.
Make your voice heard.
The future isn't decided.
humanityiscooked.com











