Whitepill: a solo engineer with a good agent can still move surprisingly fast on serious systems work - even against a $20B company’s engineering team.
I came across this tweet about Polymarket’s new Rust matching-engine targets: 200k orders/s, with a path to 400k. I had to do a double take and dug up a matching engine I built with Fable 5 over one weekend in July as part of a larger prediction-market arbitrage system.
9.65M commands/s on a 6-core i5. 2.25µs command-apply p99.
A throughput number 25–50x higher from something built in a hobbyist capacity.
Honest post: the Polymarket DeFi CLOB is full of tech debt. It grew fast, got hacked together, and most of the team inherited it that way. Since joining and building out the team, we have scaled it 10x and made it 3x faster, but it’s not enough; the core foundations of how it’s been built are wrong in almost every way. You try to fix one thing, and another thing goes wrong; the conclusion now is that the codebase can’t be saved long-term.
The exchange is the heart of Polymarket; everything runs through it. If we want to be the best exchange in the world, it must be fast, stable, and scalable. We can’t keep patching the old one, where these core foundations are generally missing throughout, so we’re rewriting it from scratch in Rust.
Early numbers: 10-20x faster on p99 than today, 200,000 orders per second (15x what we have now, with room to reach 400,000+), and stability under load. This will put us faster than most exchanges, including CEXs.
Building it in Rust gives us memory safety with no garbage collector. No GC means no random pauses and no random latency spikes; the tail latency in the benchmarks is the tail latency you get in production, alongside a strict compiler that enforces correctness up front. Data races and memory corruption (the bugs that take exchanges down) can’t exist in the first place.
Polymarket has to take it seriously that we are an exchange; this is people’s money, not a joke. To succeed, we have to fix this; otherwise, we will fail. It’s as simple as that. I joined to build the best software in the world, not to maintain some of the worst, and I will do everything I can to make Polymarket a serious exchange.
We are aiming to have the exchange ready sometime in Q4 (mid to end). I'll communicate progress as we go so you all know the status. Breaking changes will be minimal for all integrators and will be communicated in advance. We will maintain the existing CLOB and keep trying to improve it as we build this side by side. We can’t wait to throw away the existing CLOB; we dislike it as much as you all do.
Make Polymarket fast, finally.
@devjoshstevens can you dm, i have an implementation which can handle 10-40x commands at least. going to hook up to nex soon for apples to apples comparison, lets talk
Quick Mac tip if you run coding agents or big builds locally:
My RAM was full. Activity Monitor: fseventsd 10 GB, mds (Spotlight) 2 GB, from Spotlight indexing millions of build files.
If you don’t need file search (Finder, Mail, Raycast file search), turn it off with:
sudo mdutil -a -i off
Then restart.
unfortunately he's right. the hyperefficiency of compute markets will only increase. we'll have light clients which connect to cloud workloads and that's it.
the cloud’s whole game is never letting resources sit idle: pack the VMs, bill by the second, resell the gaps etc
already seeing services like https://t.co/29e7qOHgoe get traction and other cloud agent services. can't even get a dedicated server for 3x the price it was a year ago.
personal computing is a luxury going forward. you’ll own nothing and be happy
Sam Altman says its bad that everyone's personal computers are using the world's limited supply of memory chips.
"It’s quite terrible to have everybody have a bunch of the world’s limited supply of DRAMs sitting in their own computer, and being used 5% of the time. Like, you want maximum utilization."
@teachrobotslove i found a screenshot of this tweet in my photo gallery and this was one of the tweets which lead me to this book which helped cure my back issues after a year. just wanted to come back and say thanks
wait lemme get this straight? Kalshi pauses their exchange every week for 2 hours preventing people from cancelling their resting orders and when the exchange comes back online the stale liquidity can be sniped even if the event is settled...
wait lemme get this straight? Kalshi pauses their exchange every week for 2 hours preventing people from cancelling their resting orders and when the exchange comes back online the stale liquidity can be sniped even if the event is settled...