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

High concurrent service request processing method and device, electronic device and storage medium

A service request and processing method technology, applied in the computer field, can solve problems such as the easily affected execution state of the target execution module, the large number of service requests of the target execution module, and poor flexibility, so as to ensure a sense of experience, reduce execution pressure, and ensure timely execution sexual effect

Active Publication Date: 2022-05-17
BEIJING JINTI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the advent of the big data era, in different application scenarios, a large number of concurrent service requests frequently occur, and these high concurrent service requests will have a huge impact on the execution performance of the target execution module, for example, high concurrent service The request will cause the target execution module to crash due to the huge number of service requests, etc.
[0003] For these high-concurrency service requests, in the prior art, one of the manually preset synchronous and asynchronous sending methods is generally used for sending, and it does not automatically select the corresponding sending method according to the execution status of the target execution module. way, the flexibility is poor, and the execution state of the target execution module is easily affected, resulting in a decrease in its performance

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
  • High concurrent service request processing method and device, electronic device and storage medium
  • High concurrent service request processing method and device, electronic device and storage medium
  • High concurrent service request processing method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 1 It is a flow chart of Embodiment 1 of the high-concurrency service request processing method provided by the present invention. Such as figure 1 As shown, the method includes:

[0032] Step S101: receiving a high-concurrency service request, and calculating the total number of requests per second of the high-concurrency service request according to the high-concurrency service request;

[0033] In this embodiment, a high-concurrency service request means that a large number of users initiate service requests to the target execution module at the same time. Therefore, the number of service requests considered to be high-concurrency is based on the execution processing capability of the target execution module (that is, the target execution module The maximum total number of requests per second of the module), that is, the number of high-concurrency service requests is determined according to the execution processing capability of the target execution module (t...

Embodiment 2

[0063] Figure 4 It is a flow chart of Embodiment 2 of the high-concurrency service request processing method provided by the present invention. like Figure 4 As shown, the method includes: the high-concurrency service request processing method in Embodiment 1, and the following steps:

[0064] Step S109: After the target execution module or the standby execution module executes the high-concurrency service request, obtain the corresponding high-concurrency service request result, and cache the high-concurrency service request result;

[0065] Step S110: According to the cached high-concurrency service request results, calculate the total number of requests per second for the high-concurrency service request results;

[0066] Step S111: Obtain the threshold value of the total number of requests per second of the target database and the total number of requests per second of all service request results being executed by the target database;

[0067] Step S112: According to ...

Embodiment 3

[0108] Figure 7 A structural block diagram of Embodiment 3 of the device for processing high-concurrency service requests provided by the present invention. Such as Figure 7 As shown, the device includes: a first service request evaluation module 201, a cache module 202, and a target execution module 203; wherein, the first service request evaluation module 201 is configured to receive a high-concurrency service request, and calculate according to the high-concurrency service request Get the total number of requests per second of high concurrent service requests, and the comparison result of the total number of requests per second in response to high concurrent service requests and the total number of requests per second of the target execution module, and determine the high concurrent service The sending method of the request is a synchronous sending method or an asynchronous sending method; the cache module 202 is used to cache the high-concurrency service request after t...

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 provides a high-concurrency service request processing method and device, electronic equipment and a storage medium. The method includes: receiving high-concurrency service requests, and calculating the total number of requests per second for high-concurrency service requests; The comparison result of the total amount threshold determines its sending method; the sending method in response to the high concurrent service request is a synchronous sending method: after the target execution module receives the high concurrent service request, it executes the high concurrent service request; in response to the high concurrent service request The sending method is an asynchronous sending method: the high-concurrency service request is cached, and the high-concurrency service request is executed after the target execution module receives the cached high-concurrency service request. The technical solution of the invention can automatically select different sending modes according to the total number of requests per second of high concurrent service requests, and reduce the execution pressure of the target execution module.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a high-concurrency service request processing method and device, electronic equipment and a storage medium. Background technique [0002] With the advent of the big data era, in different application scenarios, a large number of concurrent service requests frequently occur, and these high concurrent service requests will have a huge impact on the execution performance of the target execution module, for example, high concurrent service The request will cause the target execution module to go down due to the huge number of service requests, etc. [0003] For these high-concurrency service requests, in the prior art, one of the manually preset synchronous and asynchronous sending methods is generally used for sending, and it does not automatically select the corresponding sending method according to the execution status of the target execution module. In this way, the fl...

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 Patents(China)
IPC IPC(8): H04L67/568H04L67/61G06F16/2455G06F16/25
CPCG06F16/24552G06F16/25
Inventor 庞世娜
Owner BEIJING JINTI TECH CO LTD
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