Unlock instant, AI-driven research and patent intelligence for your innovation.

Virtual-host-based web server and method for user obtaining access data

A virtual host and server technology, applied to electrical components, transmission systems, multi-programming devices, etc., can solve problems such as difficult support, low system efficiency, and user timeouts, and achieve short average response time, good business scalability, and performance stable effect

Inactive Publication Date: 2007-07-11
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Although the Thttpd server can improve access efficiency to a certain extent and support users' large-scale concurrent access, because its server framework adopts a single-process model, it does not have good business logic scalability; moreover, for dynamic page generation, In scenarios such as remote data acquisition and business session verification, the Thttpd server also needs to create a new process to process each request. Therefore, in the scenario of dynamic data requests, the system efficiency is still low
[0008] Moreover, although the Thttpd server provides a certain caching mechanism, the invalidation and elimination of data objects in the cache is determined by the timer in the server, not by specific business applications, and the invalidation of data objects in different business application scenarios Time settings and data object elimination strategies are often different, so the Thttpd server cannot well meet all business application scenarios
In addition, the caching mechanism of the Thttpd server is only for the static data obtained from the disk, and does not support the data dynamically generated by the business
[0009] In general, web servers such as the Apache server use a pre-fork processing model, which is often inefficient and difficult to support a large number of concurrent user visits; and web servers such as the Thttpd server use a single-process model to process in a synchronous manner , as shown in Figure 2, the server iteratively processes the requests sent by the client. In this case, if the server needs to perform time-consuming operations such as disk reading, SSI reading, business logic processing, etc., it may occur The phenomenon that users time out due to queuing and waiting for the server to process, it can be seen that the single-process model has higher access efficiency for simple local static pages and pictures, but it does not have good business logic scalability, and it is difficult to support dynamic page generation, data Scenarios such as remote access, business session verification, etc., even if supported by CGI, a process (process-per-req) needs to be created for each request, which is inefficient
[0010] In addition, although both the Apache server and the Thttpd server can support multi-virtual host vhost technology, that is to say, for multiple virtual hosts deployed on the same physical device with different domain names, the process httpd in the Apache server or Thttpd server can be based on the virtual The configuration of the domain name dynamically creates and runs the corresponding background business processes to handle different requests from users. However, the Apache server and the Thttpd server cannot provide any quality of service (QoS) distinction for different virtual hosts, so they cannot meet the requirements for different virtual hosts. Virtual hosts provide different QoS application requirements and scenarios

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual-host-based web server and method for user obtaining access data
  • Virtual-host-based web server and method for user obtaining access data
  • Virtual-host-based web server and method for user obtaining access data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] As shown in FIG. 3 , the present invention proposes a web server, including three parts: a high performance http process unit (High performance httpd) 31 , a web cache unit (web cache component) 32 , and a cache manager (cache manager) 33 . Wherein, the high-performance http process unit 31 is used to accept the concurrent connection of the user, analyze the http request submitted by the user, obtain the data object attributes and data required by the user according to the user request and return to the user; the web cache unit 32 uses properties and data content of the cached data object; the cache manager 33 is used to receive the loading request of the high-performance http process unit 31, and obtain the required data object from the corresponding business module group according to the request, and load it into the web cache unit, Further, the position of the data object in the memory data bucket can be dynamically adjusted according to the user's access to the data ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

This invention discloses one web servo based on virtual host, which comprises the following parts: high property http process unit to receive user parallel connection to get user needed data subject to user from web buffer unit; web buffer unit to store buffer data subject property and consent; buffer manager to receive high property http process unit load require to get needed data subject from relative business module to load onto web buffer unit. This invention also discloses one method to get visit data through web servo based on virtual host by user.

Description

technical field [0001] The invention relates to World Wide Web (web) server technology, in particular to a virtual host-based web server and a method for users to obtain access data. Background technique [0002] With the continuous development of the Internet, the network is gradually integrated into people's lives, and various Internet services and applications emerge in an endless stream. trade, etc. As a result, the status of web servers in various portal websites and e-commerce sites is becoming more and more important. The performance, capacity and scalability of web servers determine the quality and speed of services provided by various websites and sites. [0003] At present, the commonly used web server is the Apache server. The framework of this web server is mainly a process pool model, and a process pre-fork method is adopted. Specifically, as shown in FIG. 1 , the Apache server has many processes httpd in the process pool, which are respectively used to execut...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06G06F9/46
Inventor 黄斌强
Owner TENCENT TECH (SHENZHEN) CO LTD