Method and system for concurrent processing of API request
A task processing and task technology, applied in the field of network communication, can solve the problem of not being able to realize API requests at the same time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0045] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0046] In one embodiment of the present invention, a method for concurrently processing API requests is provided, figure 1 It is a schematic diagram of the overall flow of the method for concurrently processing API requests provided by the embodiment of the present invention. The method includes: S1. If the current task corresponding to the current API request includes I / O operations, use the current service coroutine to generate the first task of the current task. A triple, the current service coroutine is pre-created in the main thread for the current API request; S2, when the asynchronous waiting time of the current service coroutine reaches a preset duration, the main ...
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