Method, device and system for data request

A data request and database technology, applied in the Internet field, can solve problems such as database query request paralysis, and achieve the effect of preventing paralysis
CN104408110BActive Publication Date: 2018-11-09BEIJING QIANXIN TECH

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING QIANXIN TECH
Publication Date
2018-11-09

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method, a device and a system for requesting data, and relates to the technical field of internets, which aims at solving the problem of paralysis caused by excessive query requests of a database. The method comprises the following steps of establishing a first coroutine corresponding to the database, detecting the load state of the database through the first coroutine, and obtaining the detection result; when an query request reported by a terminal is received, establishing a second coroutine corresponding to the query request, and obtaining the detection result from the first coroutine through the second coroutine; when the detection result represents that the database is in the overload state, stopping forwarding the query request to the database. The method is mainly applied to postgresql database systems.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of the Internet, in particular to a data request method, device and system. Background technique

[0002] Inside the LAN, the console acts as a bridge between the terminal and the database, responsible for receiving, managing, and forwarding the query requests sent by the terminal to the database, and sending the query content returned by the database to the terminal. Usually, the processing resources allocated by the database server to query tasks are limited, and the number of query requests reported instantaneously in the local area network (hereinafter referred to as the number of concurrent requests) may be relatively large. In this case, the processing resources of the database server cannot handle all All query requests are responded to. At this time, the resource load pressure of the database is relatively high, and it is prone to paralysis. Once the database is paralyzed, it cannot be recov...

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