Fun fact: lots of exchanges claim their matching engine can process huge numbers of orders per second. They're basically all lying.
-
-
Replying to @SBF_FTX @SBF_Alameda
1/2 The lie is more subtle. You can easily create a matching engine that have that perf. 2 red-black tries + binary UDP I/O. The real lie is that most of exchanges can't handle writing, reconciling and distributing data at that speed: internal distribution, DB I/O, user delivery
4 replies 2 retweets 23 likes -
Replying to @paoloardoino @SBF_Alameda
2/2 Using a cloud provider and not a dedicated infrastructure affects the ability to reach higher speeds as well. AWS disks throughput has bursts, latency between hosts is not under your control, ... Owned racks, while more painful to manage, are better to get that kind of speed
2 replies 1 retweet 11 likes -
Replying to @paoloardoino @SBF_Alameda
Is this really a problem with nvme discs though? Their IOPS is batshit insane now. Even RAMdiscs, despite being volatile, can be realtime-streamed to a non-volatile mirror backup.
2 replies 0 retweets 4 likes -
Replying to @lowstrife @SBF_Alameda
AWS conf is opaque from what I experienced. Unless you know details you can't go HF. We use raid10 (8 disk) setup on all servers. And back to back connectivity is key for efficient replica. If you get a server with 70+ cores + 8 SSDs on AWS you're paying them new every 5 months.
1 reply 0 retweets 2 likes -
Replying to @paoloardoino @SBF_Alameda
I'm not really coming at it from a cost standpoint, more a theoretical "what is possible with modern hardware". Based on what I've seen, AWS costs are insane, yeah. Is the peering\colo\replication\whatever the term is ever worth it? They've gotta be massive for a reason.
1 reply 0 retweets 1 like -
Replying to @lowstrife @SBF_Alameda
Regarding peering HFT requires cross-connect and colo. This will reduce latency drastically. You can see that AWS is suboptimal here too, since you can peer from same region but pass through undetermined number of hops and hardware.
2 replies 0 retweets 1 like -
Replying to @paoloardoino @SBF_Alameda
So the opacity really is a dealkiller because when going the last mile of optimizations, you really need to weed out every last tick. How do you deal with timing? Leap seconds? Take the google approach and do the smear? Cause time is scaryhttps://www.youtube.com/watch?v=-5wpm-gesOY …
1 reply 0 retweets 2 likes
Yes, opacity leads to unpredictability
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.