Method for preventing repeatedly requesting API server in short time
A repetitive request and server technology, applied in the information field, can solve problems such as heavy load on the server side, malicious refresh of webpage clients, service program crashes, etc., achieve good load conditions and avoid waste of server resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] Embodiments of the present invention are described in further detail below in conjunction with the accompanying drawings:
[0022] A method to prevent repeated requests to the API server in a short period of time is to add a buffer mechanism on the server side to filter repeated requests in a short period of time, that is, when the server-side program is processing, add a buffer to save the currently processed task, and read in the buffer When writing an exception, return the error message that the system is busy to the client in time, and the server will compare each received request with the task in the current buffer, and reject repeated operations, which can provide double-layer protection for the processing operation of the server , to initially ensure that the load on the server side is good, and to avoid the waste of server resources or even the disorder of system business logic caused by repeated processing procedures.
[0023] The present invention introduces a...
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