Replication tool (RT) is intended to provide continuously updated copies of FIX logs of the FIXAntenna-based application (e.g. FIXEdge).
It consists of two applications: Subscriber and Publisher. Subscriber asks Publisher for log files and stores them in a local folder in a message-by-message manner. The admin tool depending on command-line options can be used as an RT mode manager.
The package consists of on executable and several script files (cmd for Windows platform and a shell script for *nix platforms). There is a possibility to install executable as Windows service within itself if required.
Real-time data synchronization
Logs files in subscriber’s storage are updated in real-time. The set of received FIX messages is added to the subscriber’s log files in a configured time interval.
Usage as a Disaster Recovery tool
RT batches the messages and is suitable for geo-replication. If the primary FIX engine crashes, the backup FIX engine will recover the sessions from the replicated logs to continue processing FIX messages without data loss.
Work in one of three modes:
The user can configure the needed mode for work.
Usage as a FIX logs archive
The Replication tool might be useful in configuring a FIX logs archives on subscriber's computer.
Multiple FIX logs storage
As a publisher can communicate with several subscribers several log storages can be configured on discrete computers.
Support for other platforms is available on demand
Main mode diagrams
There are two most commonly used Replication tool modes.
Disaster recovery mode
One of the major uses of Replication Tool is disaster recovery. In this case, the Replication Tool is used to synchronize the FIX logs between different datacenters
to increase the fault-tolerance of the system. This usage is represented in the following diagram.
The FIXAntenna-based application and Replication Tool are deployed on two nodes in the different datacenters. At any given time, one of them has the main role and handles
all the traffic (Node 1 on the diagram) while another is backup (Node 2 on the diagram). Node 1 runs FIXAntenna-based application and Replication Tool Server.
Node 2 runs Replication Tool Client. It connects to the server and requests the last known messages from Node 2. Replication Tool Server monitors the log
files and sends the messages to Replication Tool Client. When Replication Tool Client receives messages from Replication Tool Server, it writes them to the files in the
If Node 1 goes offline. Support personnel switches Node 2 to the main mode, stop Replication Tool Client and start FIXAntenna-based application
and Replication Tool Server. The FIXAntenna-based application sees the logs written earlier by the Replication Tool Client and uses them to continue the FIX sessions.
The system works and clients need to reconnect and continue their FIX sessions. Message replication between the datacenters is not synchronous, so some clients messages might be lost.
The recovery of them is handled via the FIX protocol retransmission starting from the sequence number of the last processed (replicated) message.
When the primary site become available , Node 1 goes back online in backup mode. It needs to get the messages that were received/sent and handled by Node 2.
Replication Tool Client connects to Node 2 and requests the messages. First, it receives the messages that received and sent before Node 1 started; then, it receives new messages as they are received or sent by the FIXAntenna-based application on Node 2.
Multiple FIX logs replication
Replication tool allows to configure multiple FIX log storage in distinct computers.
Several instances of Replication tool subscriber can be configured on distinct computers. Replication tool subscribers can batch FIX logs from Replication tool publisher.