当前位置:网站首页>Message queue table structure for storing message data
Message queue table structure for storing message data
2022-06-25 06:39:00 【InfoQ】
- One queue corresponds to one table , A queue only processes one business message , Therefore, the unified message data format reduces the complexity of message processing for producers and consumers , And simple 、 Efficient 、 Easy maintenance 、 Easy to expand ;
- Creating a queue will redundancy the same table structure on each database , The table name contains the queue name ,SDK Polling writes and reads messages ;
- Multiple message queuing patterns need to be considered , For this system, we only consider two queue modes , That is, work queue mode and publish subscribe mode .
- You need to consider the reliability of client consumption messages , It is divided into client confirmation and unconfirmed , Corresponding to different scenarios with different messaging reliability requirements ;
- news ID Is a key element of message queuing , You need to include meaningful information , Such as : Creation time , Serial number 、 producer 、 Business type, etc , To ensure rough order and improve index efficiency , It is convenient for fault diagnosis and subsequent data repair and processing in case of message delivery failure , such as : retransmission 、 Rereading or business data correction, etc .
- You need to record where consumers read messages and log them , So that the last message read from ID Continue reading unread messages at , Consumers can be configured to read one or more messages at a time .





边栏推荐
- PHP and WMI – explore windows with PHP
- Brief introduction and use of JSON
- MSG_ OOB MSG_ PEEK
- Personal blog system graduation project opening report
- Unity获取资源路径
- sin(a-b)=sina*cosb-sinb*cosa的推导过程
- fastadmin 联级清空数据
- How to realize the stable output of 3.3v/3.6v (1.2-5v) voltage of lithium battery by using the voltage rise and fall chip cs5517
- What is the slice flag bit
- DataX tutorial (10) - hot plug principle of dataX plug-in
猜你喜欢

CTFSHOW

keil debug查看变量提示not in scope

How to use asemi FET 7n80 and how to use 7n80

Understand what MTU is

Single lithium battery 3.7V power supply 2x12w stereo boost audio power amplifier IC combination solution

Derivation of sin (a-b) =sina*cosb-sinb*cosa

2022 biological fermentation Exhibition (Jinan), which is a must read before the exhibition. The most comprehensive exhibition strategy will take you around the "fermentation circle"
![Analysis on the output, market scale and development status of China's children's furniture industry in 2020 and the competition pattern of children's furniture enterprises [figure]](/img/3a/e7a7ed1390664a6660112713266bdc.jpg)
Analysis on the output, market scale and development status of China's children's furniture industry in 2020 and the competition pattern of children's furniture enterprises [figure]

DNS domain name system

VMware virtual machine prompt: the virtual device ide1:0 cannot be connected because there is no corresponding device on the host.
随机推荐
How do I check swift if two arrays contain the same elements, regardless of the order in which they appear?
@Detailed explanation of valid annotation usage
【ROS2】为什么要使用ROS2?《ROS2系统特性介绍》
Power representation in go language
Microsoft issued a document to celebrate Net 20th anniversary!
3dmax软件的制作木桶过程:三步流程
2022 AI trend 8 forecast!
Leetcode 2163. Minimum difference of sum after element deletion
Cs8126t 3.1w mono ultra low EMI unfiltered class D audio power amplifier IC
DataX tutorial (10) - hot plug principle of dataX plug-in
[轻松学会shell编程]-5、计划任务
Understand what ICMP Protocol is
Zero foundation wants to learn web security, how to get started?
PHP and WMI – explore windows with PHP
An interview question record about where in MySQL
In depth inventory: 23 vscode plug-in artifacts that improve development efficiency and aesthetics
Derivation of sin (a-b) =sina*cosb-sinb*cosa
Cs4344/ht5010 stereo d/a digital to analog converter
这些老系统代码,是猪写的么?
十大券商公司哪个佣金最低,最安全可靠?有知道的吗