Multipool Manager Callback Interface for Database Connection Failover

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing multipool systems face challenges in efficiently managing multiple database connections, particularly in avoiding dead connection pools and ensuring seamless failover or failback without user intervention, which can lead to inefficient resource allocation and application downtime.

Innovation Solution

A multipool manager system that maintains an active connection pool list, asynchronously tests dead connection pools for revival, and implements a callback interface to authorize connection pool switches, ensuring that only active and available pools are used for database connections, thereby preventing dead pool selection and optimizing resource utilization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If the system automatically manages connection pools without user intervention, then the ease of operation is improved, but the reliability may worsen due to potential selection of dead connection pools

Engineering Contradiction:
Improveautomatic connection pool managementVSAvoidconnection pool availability
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system implements a callback interface that provides feedback mechanisms between the multipool manager and the application. When a connection pool becomes unavailable or dead, the system can invoke callbacks to notify the application and receive guidance on whether to switch pools or retry, ensuring reliable connection management while maintaining automatic operation.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs preliminary actions by maintaining an active connection pool list and asynchronously testing dead connection pools for revival before attempting to use them. This proactive approach ensures that dead pools are identified and handled before they cause connection failures, improving both reliability and automatic management.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If the system switches connection pools automatically upon failure, then the productivity is improved by reducing application downtime, but the device complexity increases due to pool management overhead

Engineering Contradiction:
Improveapplication uptimeVSAvoidmultipool management system
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The multipool manager is designed as a universal component that handles multiple connection pools and provides various functions including pool selection, failure detection, revival testing, and callback invocation. This multi-functional design consolidates complexity into a single management layer, improving productivity while containing device complexity through functional integration.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system introduces a multipool manager as an intermediary layer between the application and multiple connection pools. This mediator handles the complexity of pool management, failure detection, and switching logic, allowing the application to maintain high productivity through automatic failover while the intermediary absorbs the management complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of time

If the system tests all dead connection pools asynchronously, then the loss of time is reduced by enabling parallel testing, but the use of energy increases due to concurrent operations

Engineering Contradiction:
Improveconnection pool revival detection timeVSAvoidasynchronous testing operations
Core Design Contradiction:
Loss of timeVSUse of energy by moving object

Solution Approach 1:

The system implements periodic asynchronous testing of dead connection pools rather than continuous monitoring. By scheduling tests at intervals and using asynchronous operations, the system reduces the loss of time for detecting revived pools while managing energy consumption through controlled periodic execution rather than constant active monitoring.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS7761502B2Callback interface for multipools
Publication Date: 2010.07.20 ORACLE INT CORP
  • US7761502B2 patent drawing
  • US7761502B2 patent drawing
  • US7761502B2 patent drawing

AI summary

A multipool can do a callback to an application before switching connection pools.