Unlock instant, AI-driven research and patent intelligence for your innovation.

Interface access request processing method and storage medium

A technology for interface access and request processing, applied in the computer field, can solve performance problems, increase service complexity, increase middleware dependencies, etc., and achieve the effects of reducing processing pressure, avoiding cache dependencies, and high concurrency optimization

Pending Publication Date: 2022-01-04
北京房江湖科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this method is that developers need to evaluate the pressure of the interface in advance in the design phase of the solution, and the special code to implement the caching function can support high concurrency. If the developer does not evaluate it in place, it may cause performance problems
In addition, general cluster services use distributed cache to provide cache servers, increasing middleware dependencies and increasing service complexity

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
  • Interface access request processing method and storage medium
  • Interface access request processing method and storage medium
  • Interface access request processing method and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0028] It should be noted that "first", "second", "third" and so on appearing in the present invention are only for the purpose of distinguishing descriptions, and are not used to limit the sequence, and the specific technical solutions shall prevail.

[0029] Combine below Figure 1-Figure 4 The interface access request processing method and storage medium of the present invention are descr...

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 an interface access request processing method and a storage medium, and the method comprises the steps: receiving a first interface access request, and judging whether there is an equivalent request which does not return a request result at present according to the first interface access request; blocking the first interface access request in response to the current existence of a second interface access request which does not return the request result; and responding to request result return of the second interface access request, sending the request result to a second requester corresponding to the second interface access request, copying the request result, and sending the copied request result to a first requester corresponding to the first interface access request. According to the interface access request processing method and the storage medium provided by the invention, when it is judged that the request result of the equivalent request is not returned, the new request is blocked, and after the request result is returned, the request result is copied and sent to the requester of the new request, so that high-concurrency optimization is effectively realized, the server interface processing pressure is relieved, and the cache dependence is avoided.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for processing an interface access request and a storage medium. Background technique [0002] When a large number of repeated requests access the server at the same time, it is easy to cause system performance problems due to excessive traffic of this service or downstream services (this service only performs forwarding processing at this time). The traditional solution requires developers to actively determine whether there are a large number of concurrent usage scenarios on the server interface. According to the specific situation of the interface, use local cache or distributed cache to optimize the interface. When an external request accesses the server interface, determine whether there is a cache within the validity period. If there is, the data in the cache is obtained as the interface return value, if not, the data is actually obtained and returned, and the re...

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
IPC IPC(8): G06F9/54G06F9/448
CPCG06F9/547G06F9/4488
Inventor 黄培桀
Owner 北京房江湖科技有限公司