This sample demonstrates the replica-side implementation of eXtremeDB High Availability using the SQL API .
See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the
\target\bin
directory: Note that all HA samples consist of two components, a master and a replica application. So to run this sample:In a console window run
hasql_cpp_masterThen in a second console window run
hasql_cpp_replicaBut it is more instructive to run one instance in your development environment debugger, stepping through the code.