Processing method and processing system for highly-concurrent requests

A processing method and processing system technology, applied in the field of methods and processing systems, can solve the problems of insufficient performance of servers and databases, low efficiency of high concurrent requests, etc., and achieve the effects of stabilizing the message push service, reducing the amount of distribution, and reducing the burden.

Inactive Publication Date: 2012-11-14
BEIJING QIHOO TECH CO LTD +1
View PDF4 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In order to solve the problem in the prior art that the server handles high concurrent requests inefficiently, resulting in the performance of the server and the database cannot be fully utilized, the present invention provides a method for processing large concurrent requests, which is characterized in that the access steps are as follows:

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
  • Processing method and processing system for highly-concurrent requests
  • Processing method and processing system for highly-concurrent requests
  • Processing method and processing system for highly-concurrent requests

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Such as figure 1 As shown, in the present invention, the server is only used as the forwarder of the HTTP request, and the specific processing process is handed over to the Webdis agent for processing. The Webdis agent converts the HTTP request forwarded by the server into a database language, and reversely converts the data returned by the database at the same time. Send to the server again, so that the server also utilizes the Webdis agent to replace the single-threaded work mode of PHP when reducing its own processing capacity, which improves the processing speed of the server's processing of the client polling request. The present invention passes through the Nginx server and the Redis database The combination operation makes the Redis database without weight queue operation have this function. In terms of message queue, the improvement of the present invention focuses on the retrieval of messages. In terms of user queue, the present invention utilizes the division o...

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 processing method and a processing system for highly-concurrent requests. A server receives hyper text transport protocol (HTTP) requests sent by clients in a batch mode, and the HTTP requests are directly subjected to reverse proxy and forwarded to an HTTP proxy by means of the server; the HTTP proxy receives the HTTP requests, converts the HTTP requests to a database language and then sends the data language to a database; the database establishes corresponding relationships between the clients and the requests of the clients and returns relevant data to the HTTP proxy according to the HTTP requests and the corresponding relationships; the HTTP proxy performs reverse conversion to the received data and then returns the data to the server; and the server receives the data returned by the HTTP proxy, converts the data to a light weight data exchange format and then returns the light weight data exchange format to the corresponding clients. According to the processing method and the processing system for the highly-concurrent requests, an efficient message polling structure is achieved, and a stable message pushing service is provided for a message pushing system which has a large amount of login users.

Description

technical field [0001] The invention relates to the field of computer networks, in particular to a method and a processing system for improving the processing capacity of a network server when processing large concurrent requests. Background technique [0002] Database (Database) is a warehouse that organizes, stores and manages data according to the data structure. With the development of information technology and the market, data management is no longer just storing and managing data, but has transformed into a variety of data management required by users. Way. There are many types of databases, ranging from the simplest tables storing various data to large database systems capable of storing massive amounts of data, which have been widely used in various aspects. [0003] Redis (Remote Dictionary Server) is a key-value message storage system. Redis provides some rich data structures, including strings, lists, sets, ordered sets, and hashes. Redis has extremely high pe...

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): H04L29/08H04L29/06G06F17/30
Inventor 王博
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products