# HA_Extend

> This sample demonstrates extending a database in eXtremeDB High Availability. The master application creates the database, then enters a loop inserting objects and at intervals extending the database memory. Replica applications receive notification when the master has extended the database and report the new database size.

> To execute the sample, it is necessary to start the application "master" first.

### How to Run

> 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.

> In a console window run:

>         haextend_master

> Then in a second console window run:

>         haextend_replica

> But it is more instructive to run one instance in your development environment debugger, stepping through the code.

Related Topics