eXtremeDB-HA is a fault-tolerant version of the eXtremeDB embedded database system, providing the highest degree of reliability via database replication, along with unsurpassed performance and a tiny footprint. Based on a rugged, time-cognizant two-phase commit protocol, eXtremeDB-HA ensures changes to the main database instance and identical standby instances succeed or fail together. This protocol both enables communication and detects timeout situations. A High Availability control interface provides the means for the application to configure, establish, maintain and terminate eXtremeDB-HA connections. Replication can be either synchronous (2-safe) or asynchronous (1-safe).