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

Message flow control method, device and system

A traffic control and message technology, applied in the field of data processing, can solve the problems of reducing the number of transactions per second at the consumer end, blocking the writing of the message production end, and polluting the page cache, so as to avoid the reduction of the number of transactions per second , Reduce the frequency of pollution, the effect of reducing the frequency of pollution

Active Publication Date: 2021-03-09
深圳市云网万店科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Under normal circumstances, message middleware reads and writes data from page cache (page cache), which is more efficient than reading and writing data from disk. The software will not read and write data from the page cache (page cache), but instead read and write data from the disk, which leads to a sharp increase in disk read and write (disk I / O) utilization, which leads to the following three problems:
[0003] 1. Since the data is read and written directly from the disk, the data read and written each time is transferred from the disk cache to the page cache, causing the page cache to be frequently polluted;
[0004] 2. Due to the frequent contamination of the page cache, the original page cache cannot be used normally by the consumer without message lag (lag), making it also read and write data from the disk , which reduces the number of transactions per second (TPS) read by the consumer (consumer);
[0005] 3. Due to the frequent pollution of the page cache, the writing of the message producer (producer) is blocked, and the delay becomes higher, which reduces the number of transactions per second (TPS) written by the message producer (producer)

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
  • Message flow control method, device and system
  • Message flow control method, device and system
  • Message flow control method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0056] As mentioned in the background technology, when the message consumer (Consumer) lags behind, the message middleware (Broker) will not read and write data from the page cache (Page cache), but read and write data from the disk instead. Such as figure 1As shown, in the page cache (page cache), page 1 stores the data of topic 2, pages 1 to 6 store the data of topi...

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 message flow control method, device and system, and belongs to the technical field of data processing. The method comprises the steps of judging whether a disk is currently in a busy state or not; judging whether message lag exists in a message set containing message data corresponding to the message request sent by the consumption end or not; and if the disk is currentlyin a busy state and the message set has message lag for the consumption end, returning message data acquired according to the message request to the consumption end according to preset delay time. According to the method, through detection of the state of the disk, when the disk is busy, flow limiting is carried out on the consumption end with message lag, the message pulling frequency of the consumption end with message lag is reduced by delaying message data returning, and therefore the frequency that the page cache is polluted is reduced.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a method, device and system for message flow control. Background technique [0002] Message middleware is a message transmission tool that focuses on sending and receiving data, and uses an efficient and reliable asynchronous message delivery mechanism to integrate various subsystems in a distributed system. Under normal circumstances, message middleware reads and writes data from page cache (page cache), which is more efficient than reading and writing data from disk. The software will not read and write data from the page cache (page cache), but instead read and write data from the disk, which leads to a sharp increase in disk read and write (disk I / O) utilization, which leads to the following three problems: [0003] 1. Since the data is read and written directly from the disk, the data read and written each time is transferred from the disk cache to the page ...

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): H04L12/801H04L12/813H04L12/853H04L12/26H04L47/20H04L47/2416
CPCH04L47/10H04L47/20H04L47/2416H04L43/08
Inventor 荆伟王淘郭业俊赵云程星林
Owner 深圳市云网万店科技有限公司