How does matching engine on the financial exchanges handle fail-over

261 views
Skip to first unread message

MechSyQ

unread,
Sep 8, 2018, 12:27:23 PM9/8/18
to mechanical-sympathy
For example, on the FX or Equities exchange where HFT/real-time trading going on, something went terrifically wrong: not possible to save transaction into a file etc. What are the next actions: trading is put on halt developers involved? What about fail-over? Active/active is no application in this case? So, it is just manual or automatic fail-over from active to passive node?


Thx

Martin Thompson

unread,
Sep 8, 2018, 12:34:43 PM9/8/18
to mechanical-sympathy
Is there a mechanical sympathy question in this? If feels like someone is curious or looking free consultancy.

Matching engines tend to be replicated state machines. Best if you start reading up on those.

Martin...

Greg Young

unread,
Sep 8, 2018, 12:41:43 PM9/8/18
to mechanica...@googlegroups.com
Just to add to the already fair reply by Martin. Take a look at how eventstore works. It tolerates a minority of servers failing, takes load similar to stock exchanges, and is OSS so you can actually read the code. https://github.com/eventstore/eventstore. You can actually find our paxos implementation in the elections service https://github.com/EventStore/EventStore/blob/master/src/EventStore.Core/Services/ElectionsService.cs

--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Studying for the Turing test
Reply all
Reply to author
Forward
0 new messages