1/7 Problem: How to scale trading/liquidation engines up to 500k/1M/10M users? 100k users are manageable, but eventually single threaded architecture will bottleneck growing number of users.https://twitter.com/paoloardoino/status/1238965074427088903 …
Why? Not sure from where you deducted that. Users get liquidated only when they should. The system is just more scalable.
-
-
"Each LE sorts users by risk (probability of getting liquidated)." I interpreted 'sorts' to mean 'decides which orders to process first' - if that's accurate then one could ensure their orders are processed fast by engineering a high probability of being liquidated.
-
LE and normal order insertion use 2 different queues. LE has a priority queue, to not use the same one of general order insertion.
End of conversation
New conversation -
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.