Dynamic Webserver Connection Pool Resizing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional online resource management systems face challenges in accurately and efficiently managing connection pools for web servers, leading to inefficiencies and downtime due to manual configuration file modifications and inability to adapt to fluctuating demand without interrupting service.

Innovation Solution

A dynamic connection management system that monitors traffic and health of web servers to predict and adjust the number of connections in real-time without restarting the server, using non-persistent memory modifications to dynamically tune the connection pool size based on historical trends and current demand.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the connection pool size is increased to handle spikes in demand, then the system can accommodate more connections, but excess resource allocation occurs during low demand periods

Engineering Contradiction:
Improveconnection pool adaptabilityVSAvoidresource allocation efficiency
Core Design Contradiction:
Adaptability or versatilityVSLoss of energy

Solution Approach 1:

The connection pool size is made dynamic rather than static, allowing it to automatically adjust based on current traffic conditions. The system monitors connection metrics in real-time and modifies the pool size accordingly, enabling the resource allocation to adapt to fluctuating demand without manual intervention or service interruption.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If manual configuration file modification is used to adjust connection settings, then the connection pool size can be changed, but the web server must be taken offline causing downtime

Engineering Contradiction:
Improveconnection pool configurabilityVSAvoidservice downtime
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system enables continuous service operation during connection pool adjustments by implementing hot-swappable configuration. The connection pool size can be modified while the web server remains online and continues to handle requests, eliminating the need to take the server offline for configuration changes and ensuring uninterrupted service.

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

An intermediary mechanism is introduced between the configuration system and the web server, allowing configuration changes to be applied without directly restarting the server. This intermediary layer enables seamless updates to connection pool settings while maintaining server continuity.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Device complexity

If a fixed connection pool size is allocated at initialization, then the configuration is simple, but the system cannot adapt to fluctuating traffic patterns

Engineering Contradiction:
Improveconfiguration simplicityVSAvoidtraffic demand adaptability
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The connection pool system performs self-adjustment based on monitored traffic patterns and connection metrics. Rather than requiring manual configuration updates, the system automatically detects when adjustment is needed and modifies the pool size accordingly, maintaining both simplicity and adaptability through autonomous operation.

Inventive Principle:
Principle #25Self-service

4Adaptability or versatility

If the web server is restarted to apply configuration changes, then the new connection settings take effect, but existing connections are interrupted

Engineering Contradiction:
Improveconfiguration update capabilityVSAvoidconnection continuity
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system prepares for configuration changes by implementing a seamless update mechanism that prevents connection interruption. Configuration changes are applied in advance or during idle periods without affecting active connections, ensuring that existing connections continue uninterrupted while new settings take effect.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10958590B2Dynamic resizing of webserver connection pool size
Publication Date: 2021.03.23 ADOBE INC
  • US10958590B2 patent drawing
  • US10958590B2 patent drawing
  • US10958590B2 patent drawing

AI summary

The present disclosure relates to systems, non-transitory computer-readable media, and methods for dynamically updating the connection pool for a web server without any interruption to the resource. In particular, in one or more embodiments, the disclosed systems can continuously monitor load data for various web servers. Further, the disclosed systems can utilize load data, historical load data, and/or user settings to predict a number of connections over a future time period and can determine an updated connection pool size for a web server based on that predicted number of connections. The disclosed systems can also dynamically modify the connection pool size for the web server based on the updated connection pool size without interrupting the resource or any of its ongoing connections in any way.