Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Limitation method of Web server concurrent number

A server and database technology, applied in the information field, can solve problems such as increasing storage space and inconvenient data management, and achieve the effect of ensuring responsiveness

Inactive Publication Date: 2011-04-20
STATE GRID ZHEJIANG ELECTRIC POWER +1
View PDF0 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this increases the storage space, which is not convenient for data management

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
  • Limitation method of Web server concurrent number
  • Limitation method of Web server concurrent number
  • Limitation method of Web server concurrent number

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The technical solution of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0020] like figure 1 Shown, the hardware that the present invention relates to has web server, database server, set up database connection pool, query connection module and a plurality of business function modules in web server, client information is connected with query connection module by business function module in the server Access to the database connection pool. Due to the different query content input by the client, it is divided into multiple large query services and general query services. The above services correspond to each business function module, and the database query language is formed through the conversion and operation of each business function module and the corresponding query The connection module is connected, wherein the large query service is connected with the corresponding m large query connection units ...

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

The invention discloses a limitation method of a Web server concurrent number, relating to the field of information technologies. In a three-tier system framework, the Web server accesses to a database by a connection pool; when user requests have certain large statics or inquiry, the connection pool is gradually used up by the requests, thus the whole system stops responding. In the limitation method of a Web server concurrent number, after transferring client-side information to the functional module of each service, the database connection pool is accessed by an inquiry connection module; the inquiry connection module is divided into a large inquiry connection module and a common inquiry connection module, wherein the large inquiry connection module has the maximum total concurrent number; when a user side submits a large inquiry request, if the request number is smaller than the maximum total concurrent number, one database connection is obtained from the database connection pool, and a database access request is submitted to the database server by the connection; otherwise, the user is prompted to wait. The maximum total concurrent number is set to limit large inquiry connection amount and ensure the response capability of common inquiry.

Description

【Technical field】 [0001] The invention relates to the field of information technology, in particular to a method for limiting the concurrent number of Web servers. 【Background technique】 [0002] In the three-tier architecture, the Web server usually accesses the database through the database connection pool. After a user request is submitted, the Web server finds an idle connection from the connection pool, and then uses the connection to access the database. After the access is completed, the connection is released and can be used for the next user request. When a user requests, if there are no idle connections, the request will be in a waiting state. [0003] On the one hand, the size of the connection pool depends on the frequency of user requests and the time spent on each connection, on the other hand, it is also limited by the database service capacity. When the time required for each database access is very short, the database connections in the connection pool are...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 裴旭斌王伟峰蒋鸿城涂莹贺燕李熊郁春雷
Owner STATE GRID ZHEJIANG ELECTRIC POWER
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products