Adaptive Speculative Preconnection for Web Latency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing solutions for reducing web latency, such as pre-resolving host names and prefetching content, often result in unsatisfactory user-perceived latency due to the time it takes for web pages to load.

Innovation Solution

Implementing adaptive speculative preconnection methods that involve initiating a connection to a first URL hostname and obtaining speculative information about the likelihood of connecting to a second hostname, allowing for preconnection based on this information to reduce latency by overlapping connection times for subresources with the acquisition time of containing resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If traditional solutions like pre-resolving host names and prefetching content are used, then some latency reduction is achieved, but user-perceived latency remains unsatisfactory

Engineering Contradiction:
Improveweb page load timeVSAvoiduser-perceived latency satisfaction
Core Design Contradiction:
Loss of timeVSProductivity

Solution Approach 1:

The system performs preliminary actions by preconnecting to host names and prefetching content before they are actually needed. The speculative preconnection mechanism proactively establishes connections to multiple potential host names based on predicted user navigation patterns, so that when users actually navigate to those pages, the connections are already in place and content is ready to be delivered immediately, thus reducing user-perceived latency.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically adjusts its preconnection and prefetching behavior based on real-time user behavior patterns and navigation history. By continuously learning and adapting to user preferences, the system optimizes which host names to preconnect to and what content to prefetch, making the latency reduction more effective and responsive to actual user needs rather than following static predetermined patterns.

Inventive Principle:
Principle #15Dynamics

2Loss of time

If speculative preconnection to multiple host names is implemented, then web page load time is reduced, but network resource usage increases

Engineering Contradiction:
Improveweb page load timeVSAvoidnetwork resource usage
Core Design Contradiction:
Loss of timeVSUse of energy by moving object

Solution Approach 1:

The system applies partial action by selectively preconnecting to only those host names that are most likely to be visited based on predictive algorithms, rather than preconnecting to all possible host names. This selective approach balances the benefit of reduced load time against the cost of network resource usage, performing enough preconnection to achieve latency reduction while avoiding excessive resource consumption on unlikely destinations.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system uses feedback mechanisms to monitor actual user navigation patterns and compare them with predicted patterns. This feedback loop allows the system to learn from its predictions and adjust future preconnection decisions, optimizing the balance between reducing web page load time and minimizing network resource usage by becoming more accurate in predicting which host names will actually be visited.

Inventive Principle:
Principle #23Feedback

3Productivity

If adaptive speculative preconnection is used, then the number of round-trips is minimized, but system complexity increases

Engineering Contradiction:
Improvenumber of round-tripsVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system merges multiple functions into a unified speculative preconnection mechanism. Instead of treating host name resolution, connection establishment, and content prefetching as separate sequential operations, the system combines them into an integrated predictive process that speculatively performs all three operations in advance based on predicted user behavior, thereby minimizing the number of round-trips while managing complexity through functional integration.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS9083583B1Latency reduction via adaptive speculative preconnection
Publication Date: 2015.07.14 GOOGLE LLC
  • US9083583B1 patent drawing
  • US9083583B1 patent drawing
  • US9083583B1 patent drawing

AI summary

Methods, systems, and computer program products for reducing web latency using adaptive speculative preconnection are provided. Exemplary methods, systems, and computer program products for reducing web latency include initiating a connection to a first URL hostname, and obtaining speculative information associated with the first URL hostname. The speculative information includes a likelihood of connecting to a second URL hostname as a result of initiating a connection to the first URL hostname. The methods, systems, and computer program products also include determining whether to preconnect to the second URL hostname based on the speculative information. The methods, systems, and computer program products further include providing an instruction to preconnect to the second URL hostname when a determination to preconnect is made.