[Quickfix-developers] FIX message replay by a quickfix acceptor
Brought to you by:
orenmnero
|
From: Andrew F. <af...@ra...> - 2005-12-13 21:55:01
|
Hello all, been looking through the online docs and list archives but haven't found anything yet so here goes - In the system i've inherited (environment is C++ on 64bit Linux), there is an "Order Matcher" (OM) which sometimes routes orders out to the outside world via a Quickfix Initiator (QI). OM and QI communicate via messaging, ie. NOT via Quickfix. Here's my task: when OM recovers from a crash, it must query QI for all events which occurred since it crashed at XX:XX time. Broadly, the options i've considered are A) QA itself responds to OM's query, or B) a separate process responds to OM's query. 1. If OM were a quickfix Initiator and QI were a quickfix Acceptor, i realize this would be a regular recovery reconnect. Given that QI acts as a sort of "Acceptor", as an Initiator object does it have access to the same replay functionality? 2. Further to option B), given that QI continuously writes to its FIX logs, would there be any problem with a secondary process reading the file? Basically i'm asking what type of file locking is the quickfix Initiator using? Any help greatly appreciated. thank you, Andrew Freese af...@ra... |