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

Real-time data processing method

A real-time data processing and real-time data technology, applied in the field of data processing, can solve problems such as inability to process, message backlog, and low processing efficiency, so as to improve data receiving performance, realize pause and restart, and avoid data loss.

Pending Publication Date: 2022-02-11
首约科技(北京)有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] If the existing solution applies to the unexpected downtime of the RocketMQ client, resulting in a backlog of messages that cannot be processed, affecting the real-time performance of data
[0007] In the existing technology, data processing tasks can only be scheduled by the thread itself, and cannot be paused and restarted
In the existing technology, data will be updated by multiple threads at the same time, resulting in the loss of updates. If you want to avoid this situation, you cannot achieve high-concurrency and high-performance message processing
If the message processing fails, unprocessed messages need to be read from the database. If there are too many unprocessed messages, the performance of Broker will decrease and the processing efficiency will be low.

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
  • Real-time data processing method
  • Real-time data processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0028] The terms "comprising" and "having" and any variations thereof in the description, embodiments, claims and drawings of the present invention are intended to cover non-exclusive inclusion, for example, including a series of steps or units.

[0029] The technical solutions of the present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0030] Such as figure 1...

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 provides a real-time data processing method. The real-time data processing method comprises the following steps of: enabling a rocketmq server to push real-time data to a corresponding message queue; wherein the message queue comprises a plurality of message sub-queues, and averagely distributing the real-time data to the plurality of message sub-queues; scheduling the messages on the message sub-queues by adopting a load balancing algorithm to obtain scheduling information; distributing the scheduling information to a plurality of clients; and sending the scheduling information to a data processing module by the clients for data processing. The problem that messages cannot be received due to downtime of a single mq client is solved, data receiving performance is improved, real-time data processing pause and restart are achieved, the problem of updating loss under the condition of high concurrency is fundamentally solved, meanwhile, data loss caused by data overstock or data processing failure is avoided, and the reread data processing performance is greatly improved.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a real-time data processing method. Background technique [0002] Redis cache: Redis is a high-performance key-value memory database. In the official performance test, the set operation is 110,000 times per second, and the get operation is 81,000 times per second, which are often used for caching. [0003] rocketmq: Ali open source distributed message queue. Rocketmq uses topic for message management. Each topic contains multiple partition queues. Messages sent by a publisher to a topic will be evenly distributed to multiple partitions. Zookeeper coordinates and controls. When a consumer joins or leaves, it triggers a load balancing algorithm to balance the load of multiple consumers in a consumer group. [0004] LevelDB: Leveldb is a very efficient kv database implemented by Google, which can currently support billions of data volumes. LevelDB is a single-process service with ...

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): G06F9/54G06F9/50G06F16/23G06F16/2457G06F16/2458
CPCG06F9/546G06F9/5083G06F16/2343G06F16/24578G06F16/2471G06F2209/548
Inventor 贾明库
Owner 首约科技(北京)有限公司
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