Message data service cluster
A technology for message data and service clusters, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve problems such as inconvenient storage, inability to be consumed in a timely manner, and outdated data that cannot be eliminated in a timely manner
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] Such as image 3 Shown is the framework of the distributed message system of the present invention, including a production cluster for generating topic message data, a service cluster for storing topic message data, a consumption cluster for consuming topic message data, and a management cluster for managing consumption clusters and service clusters . The service cluster includes a topic partition for storing topic message data. The topic partition includes a master copy (Leader) and a slave copy (Follower) distributed in different servers of the service cluster, and the slave copy is a redundant backup of the master copy. The service cluster consists of one or more Agent servers (servers), and each server is responsible for external services or data redundancy of several topic partitions. The server provides message submission / consumption / partition addressing functions. One of the servers (Agents) in the same topic partition is the aforementioned master copy, while t...
Embodiment 2
[0068] For the sake of brevity, the parts of this embodiment that are the same as those of the first embodiment will not be repeated here, and only the different parts of the second embodiment and the first embodiment will be described.
[0069] In this embodiment, there are two storage modes for topic message data on the server. One is the same file mode as the first embodiment, and the other is the memory mode. The file mode is suitable for storing message data with a long expiration time and a large volume, including logs, mysql binlog, and simple activity information of applications, etc.
[0070]The memory mode is suitable for simple fast message delivery. These messages usually have a short life cycle (maybe only a few minutes), require small transmission delays, and need to reach the consumer relatively quickly. It is inconvenient to store this type of topic message data in a file. First of all, file storage is designed for messages with a relatively long life cycle, ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


