Method for asynchronous long connection of easily extended interfaces
An easy-to-expand, asynchronous long-term technology, applied in the interface field, can solve the problem of wasting resources and time, and achieve the effect of short response time and fast processing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0012] The present invention will be further described below through specific embodiments.
[0013] An asynchronous long connection easy-to-extend interface method. The client inserts the request message into the server message queue. After the insertion is successful, the client asynchronously queries the response message, and the blocking waiting time for the query can be set. After the server gets the request message from the corresponding message queue, it processes the message and sends response data to the client in an asynchronous or synchronous manner.
[0014] This interface is a typical distributed message queue mode message middleware.
[0015] Realize distributed message queue based on Redis. Redis is an in-memory Key-Value NoSQL database with extremely fast access speed and very easy to use. It supports List data structure operations and can be used for lightweight queue services. The Redis server can be deployed in multiple clusters to solve single-point failur...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More