Web Server Batch DNS Resolution for Faster Page Loading
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional web page acquisition processes are inefficient due to the need for multiple domain name resolution requests and repeated operations when a web page includes multiple referenced content, leading to slow loading times.
Innovation Solution
A method and system that involve a web server acquiring an HTTP request with a first IP address and GSLB address, looking up the web page basic framework, obtaining domain names of referenced content, and sending a domain name resolution request to a global server load balancer to obtain second IP addresses for referenced content, which are then packaged in an HTTP response to reduce the need for multiple DNS resolutions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the browser issues multiple domain name resolution requests for each web page-referenced content, then the web page can be fully loaded, but the web page acquisition efficiency is low and loading time is long
Solution Approach 1:
The patent merges multiple domain name resolution requests into a single batch request. The web server collects domain names of multiple web page-referenced content and sends them together in one domain name resolution request to the GSLB, rather than issuing separate requests for each content item. This combining approach reduces the number of round trips and significantly improves web page acquisition efficiency while ensuring all necessary content is loaded.
2Reliability
If the browser performs repeated DNS resolution operations for each referenced content, then all content can be retrieved, but the loading speed is slow
Solution Approach 1:
The patent implements preliminary action by having the web server perform domain name resolution before the browser requests web page-referenced content. The web server sends a batch domain name resolution request to the GSLB, obtains IP addresses for all referenced content in advance, and includes these IP addresses in the HTTP response. This preliminary resolution eliminates subsequent DNS lookup delays for the browser, significantly speeding up content retrieval.
3Measurement precision
If multiple separate domain name resolution requests are issued for web page-referenced content, then accurate IP addresses can be obtained, but the time consumption increases
Solution Approach 1:
The patent merges multiple individual domain name resolution requests into a single batch request. Instead of querying the GSLB separately for each web page-referenced content domain name, the web server collects all domain names and sends them together in one request. The GSLB returns all corresponding IP addresses in a single response, maintaining resolution accuracy while reducing DNS resolution time from multiple sequential operations to one parallel operation.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Acquiring web pages includes acquiring a hypertext transfer protocol (HTTP) request including a first Internet protocol (IP) address, looking up a web page basic framework corresponding to the first IP address, obtaining a plurality of domain names of a plurality of pieces of web page-referenced content corresponding to the first IP address, sending a domain name resolution request to a global load balancer (GSLB), wherein the domain name resolution request includes the plurality of domain names of the plurality of pieces of web page-referenced content, acquiring a plurality of second IP addresses of the plurality of pieces of web page-referenced content, and sending the web page basic framework and the plurality of second IP addresses of the plurality of pieces to a browser.