Trading platform reliability: a standby server and data copies
Trading platform reliability is what happens when something breaks: a server, the network, a price source. A broker's clients should still see their account and be able to close positions, and no data should be lost. Here is what reliability is made of and what to ask a provider.
Contents
A standby server
A standby server keeps a live copy of the database. If the main server fails, the platform moves to the standby, and clients go on working with the same accounts and positions.
Data copies
Besides the standby server, data copies are needed somewhere else, in case both servers suffer. The copies should be encrypted, because they hold client data.
Restore testing
A copy nobody has restored from is a hope, not a copy. Restores should be tested regularly: bring the database up from a copy and compare it with the live one.
Monitoring from outside
If monitoring runs on the same server as the platform, it goes down with it and warns nobody. You need monitoring from outside that tells the team the platform is not answering.
What a client sees during a failure
When a price source fails, a client should not be closed out at a frozen price. When the connection drops, the app should say there is no connection rather than show old data as new.
What to ask a provider
- Is there a standby server, and how fast do you move to it?
- Where are data copies kept, and are they encrypted?
- When was a restore last tested?
- Who learns about a failure, and how fast?
How prices behave when sources fail is in How a broker's price feed works.
Questions
What is a broker's standby server?
A server with a live copy of the database that the platform moves to if the main server fails.
Why test restoring from a copy?
Only a test shows a working database can really be brought up from the copy.
What happens to clients when the platform fails?
When set up right, they are moved to the standby server with the same accounts and positions.