I'm building a client-server application and I am looking at adding failover to the client so that when a server is down it will try to connect to another available server. Are there any standards or specifications covering server failover? I'd rather adopt an existing standard than implement my own mechanism.
Failing that, any advice on what structure to use for the failover would be very much welcome. Currently, I'm thinking of having a list of servers and then a choice of algorithms such as: top down, random, prefer top etc... Another approach I thought of would be to split the list of failover servers in to primary and backup. Any thoughts/advice welcome. Thanks.