[Quickfix-developers] Semi OT : QF internal data hotbackup
Brought to you by:
orenmnero
|
From: John G. <joh...@wa...> - 2007-01-04 08:58:33
|
Hi there, Planning for disaster (happy new year 2007 all ;-)...) I need to (better) plan what to do in case the QuickFix machine goes down. Environment is either linux RH or solaris 9, QF is C++. So far I am backuping every so often the directories pointed by FileStorePath i.e. sequence number and session "queue". We are considering moving this data to an NFS partition, so of course my "performance issues warning" goes off. I am also concerned, in both cases, about concurrent file access / invalid files on backup. Can anyone please tell me : - if just backuping more regularly is considered enough, are there any risks of copying a corrupted/incomplete file ? I did not check but I guess QF opens its file pointer when the session starts and closes it when it stops. - if we go for NFS, how does QF handle the FS access to what is stored in FileStorePath ? Does it work in RAM and flushes to disk from time to time (with explicit fflushes or the OS decides) or are the messages reloaded from disk every so often ? TIA for any information. JG |