2 ms·
Yeah that is a good take! Thanks. Do you have any links to (relatively?) accessible reading on how stock exchange clearing works? That sounds like an interestin
by burntsushi 9y ago
Yeah that is a good take! Thanks. Do you have any links to (relatively?) accessible reading on how stock exchange clearing works? That sounds like an interesting application of exactly this sort of problem that I'd like to learn more about.
- pjc50 9y agoYou could have a look at https://www.lseg.com/areas-expertise/our-markets/turquoise/equities/tq-technology https://www.lseg.com/areas-expertise/our-markets/turquoise/e... although I don't know if I'd call it "accessible". "Clearing" in general is a pre-digital technique for resolving concurrency. Someone writes a cheque for payment and puts a date on it, then exchanges it for goods; at some point later, it reaches the single, central ledger of that customer's bank account which is updated to reflect the transaction. I'll also reccommend https://martinfowler.com/articles/lmax.html https://martinfowler.com/articles/lmax.html , because it's an interesting architecture with a similar approach of just routing all the operations through in series, but with a number of producer/consumers attached to a ring buffer.