APPLICATION FAILOVER IN PROGRESS® DATADIRECT® DRIVERS
Only Progress DataDirect Connect database drivers (for ODBC, JDBC, and ADO.NET) include Application Failover to automatically and transparently redirect requests to an alternate database server if the primary server is unavailable because of a hardware failure or traffic overload. DataDirect Application Failover:
- Ensures application reliability and data integrity
- Completely manages failover without additional coding or expensive server dependencies
- Provides a consistent, standards-based approach regardless of database server or application environment
Ensures Application Reliability and Data Integrity
DataDirect's high-quality approach guarantees data consistency and validity by ensuring that the alternate server is an exact mirror of the primary server with respect to transaction state. If for some reason the states don’t match, the driver will detect this and allow the application to take the appropriate action.
Completely Manages Failover
With DataDirect, application failover is managed completely by the driver without-additional application coding or server dependencies:
- Manages the re-connection to an alternate server list (which may include multiple reconnect attempts)
- Checks that the state of the data in the alternate server is consistent with the application
- Re-prepares the Select statement, re-executes the Select statement, and re-positions the cursor to the record that was being processed
Provides a Consistent, Standards-based Approach
DataDirect's failover implementation provides consistency regardless of database or operating environment to help reduce application development costs.
In addition, DataDirect simplifies and standardizes the return code values, which greatly reduces the application code necessary to implement failover, and makes it easy to provide failover in heterogeneous database environments.
DataDirect Connect database drivers provide multiple configurable options for application failover. The failover logic is completely managed by the driver.
|
Connection Failover |
Ensures that new connections can be established, even if the primary server is not available. If the initial connection attempt fails, the driver automatically attempts to connect to a set of alternate servers. |
|
Load Balancing |
The driver will randomly select an alternate server from the list of alternates specified, reducing the likelihood of overwhelming one particular server during a failover event |
|
Extended Connection Failover |
Supports new connections and lost connections by connecting the application to an alternate server, while preserving the state of a lost connection. |
|
Select Failover |
Also known as transaction failover, this option protects Select statements that have work in progress. If the connection is lost, the driver fails over to an alternate server while preserving the state of the connection along with the work being performed by the Select statement. This includes the ability to reposition the cursor to the next row in a row that was returned by a Select statement. |
Check product documentation for information on which options are supported for a particular driver.
|
Description |
A financial brokerage firm uses a Web-based application to routinely review significant trade activities for their premium account holders and perform workflow activities such as auditing, customer outreach, and so on. |
|
Goals |
|
|
Issue |
If the database containing the stock trade history becomes unavailable during a transaction, and the application is not able to fail over and restore the state of the transaction, the brokerage manager has to do a great deal of work to restart and recreate their activity. |
|
Resolution |
With DataDirect Application Failover, if a database server becomes unavailable while the stock trade list is being processed, the driver will transparently fail over the transaction to an alternate server and reposition the state of the transaction so that the brokerage manager can continue processing the next stock trade in the query list. |
Although this sounds simple, the failover processing provided by the driver is significant. The DataDirect driver:
- Manages the re-connection to an alternate server list (which may include multiple re-connect attempts)
- Checks that the state of the data in the alternate server with respect to the application is consistent
- Re-prepares the Select statement, re-executes the Select statement, and re-positions the cursor to the stock trade entry in the list that was being processed by the brokerage manager
Robust Application Failover is one of the many reasons leading organizations turn to DataDirect for database connectivity. The database driver you choose can play an important part in ensuring highly available applications. If you rely on a database vendor driver, you’re getting limited - if any - application failover support.
|
DataDirect Failover |
Failover Alternatives |
|---|---|
|
Reduces Application Development Costs |
Requires Addition of Proprietary Code to Implement Failover |
|
Ensures Application Reliability and Data Integrity |
UnreliableFailover Resulting in Data Integrity Issues |
|
Completely Manages Failover |
Requires Expensive Server-based Failover Management |
|
Offers Standards-Based Approach |
Vendor-Specific Proprietary Approach |
|
Provides Flexibility |
Brittle, Inconsistent Implementation |

