Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and system for realizing asynchronous RPC based on RabbitMQ

An asynchronous, caller technology, applied in the field of server communication, to ensure reliability, improve responsiveness, and high communication efficiency

Inactive Publication Date: 2018-12-18
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method and system for implementing asynchronous RPC based on RabbitMQ, which solves the problem of distributed deployment or microservice deployment communication, and improves the concurrent processing capability of the system

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
  • A method and system for realizing asynchronous RPC based on RabbitMQ
  • A method and system for realizing asynchronous RPC based on RabbitMQ
  • A method and system for realizing asynchronous RPC based on RabbitMQ

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0033] In order to facilitate the understanding of the content of the present invention and the accompanying drawings, the English abbreviations involved in the present invention are explained and illustrated.

[0034] SSR: Server Security Reinforcement, a server security enhancement system, is a server host security re...

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 discloses a method and a system for realizing asynchronous RPC based on RabbitMQ, which relates to the technical field of server communication. The method includes receiving and encapsulating the request information of the caller, and sending the request information to the request queue of RabbitMQ; monitoring the request queue of RabbitMQ, connecting the callee and sending the request information to the callee; Receiving and encapsulating the execution result of the callee, and sending the execution result to the result queue of RabbitMQ; monitoring the result queue for RabbitMQ, connecting the caller, and sending result data to caller. The invention uses RabbitMQ as the middleware, which has high communication efficiency and relies on the message queue function of RabbitMQitself, and does not cause data loss, thus ensuring the reliability of the message in the data transmission. Compared with the traditional invocation method, the method can better cope with the largeconcurrency situation and improve the response ability of the whole system.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of server communication, and in particular to a method and system for implementing asynchronous RPC based on RabbitMQ. Background technique [0002] With the increase of SSR (Server Security Reinforcement, server security enhancement system) business volume, a single system cannot meet the increasing demand for data volume. Under the pressure of increased access and enhanced processing capabilities, it is inevitable to distribute a SSR system or split a system into different microservices according to business needs. However, in the existing technology, communication between distributed systems or microservice systems is a very important technical problem. On the one hand, this technology should take into account the reliability of communication data transmission to avoid data loss. The high efficiency of communication data transmission ensures the communication speed. [0003] Ba...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L29/08H04L12/861G06F9/54
CPCH04L49/90G06F9/546G06F9/547G06F2209/544G06F2209/547G06F2209/548H04L67/566H04L67/133H04L67/60
Inventor 刘增辉张彬
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products