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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com