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

High-throughput stream processing method and device

A high-throughput, stream processing technology, applied in the field of high-throughput stream processing methods and devices, can solve problems such as waste of hardware resources and low data efficiency, and achieve the effects of improving throughput and system stability

Pending Publication Date: 2022-01-14
ZTE CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] A high-throughput flow processing method and device provided by the embodiments of the present invention mainly solve the technical problems of low data efficiency and serious waste of hardware resources

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
  • High-throughput stream processing method and device
  • High-throughput stream processing method and device
  • High-throughput stream processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] In order to improve throughput, improve computing resource utilization, and reduce operation and maintenance costs, this embodiment provides a high-throughput stream processing method. Please refer to figure 1 , the method includes the following steps:

[0030] S101, the data receiving thread judges whether the remaining buffer space of the current data memory cache is greater than a preset threshold, if so, caches the received data into the memory cache, otherwise, saves the received data to a local hard disk;

[0031] S102. The data processing thread acquires data from the memory cache, and performs calculation processing on the acquired data.

[0032] In this embodiment, the high-throughput stream processing method further includes: constructing a bolt model, the bolt model including: a data receiving bolt model, a data processing bolt model, and a data sending bolt model; the data receiving bolt model is used to receive The data message sent by the data sending bol...

Embodiment 2

[0046] In order to improve throughput, improve computing resource utilization, and reduce operation and maintenance costs, this embodiment provides a high-throughput flow processing method.

[0047] This embodiment describes the high-throughput stream processing method with a specific example. The current mr measurement report of a certain telecom operator city A requires that the data be processed in real time.

[0048] Such as Figure 4 As shown, this embodiment provides a flow chart of a high-throughput flow processing method, including the following steps:

[0049] S401. Open up a memory space inside the Worker as a unified memory cache space;

[0050] Create a memory space inside the Worker as a unified memory cache space for caching the data received by the bolt.

[0051] S402. Initialize the size of the unified memory cache space;

[0052] The size of the unified memory cache space is automatically initialized according to a certain ratio according to the memory size...

Embodiment 3

[0066] In order to improve throughput, improve computing resource utilization, and reduce operation and maintenance costs, this embodiment provides a high-throughput stream processing method.

[0067] This embodiment provides a high-throughput stream processing device, such as Figure 5 As mentioned above, it is a block diagram of a high-throughput stream processing device provided in this embodiment, including a data receiving module and a data processing module;

[0068] The data receiving module is used to receive data and determine whether the remaining buffer space of the current data memory cache is greater than a preset threshold, if so, cache the received data into the memory cache, otherwise, save the received data to the local hard drive;

[0069] The data processing module is configured to obtain data from the memory cache, and perform calculation processing on the obtained data.

[0070] The high-throughput stream processing device provided in this embodiment fur...

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 embodiment of the invention provides a high-throughput stream processing method and device, and the stream processing method comprises the steps that a data receiving thread determines whether the residual cache space of a current data memory cache is greater than a preset threshold value, if so, caches the received data into the memory cache, otherwise stores the received data in a local hard disk; and a data processing thread obtains the data from the memory cache and carries out calculation processing on the obtained data. According to the scheme, the data receiving Bolt uses the two caches including the memory cache and the hard disk cache, the data processing Bolt does not have an independent memory cache and directly obtains the data from the memory cache in the data receiving Bolt for calculation processing, the data receiving thread and the data processing thread are mutually independent, the throughput is improved, the utilization rate of computing resources and storage resources is improved, and the system stability is improved.

Description

technical field [0001] Embodiments of the present invention relate to but are not limited to the technical field of large data streams, and specifically, relate to but are not limited to a high-throughput stream processing method and device. Background technique [0002] As a technology capable of fast processing and fast feedback results, real-time stream computing has been widely used in various fields. There are a large number of excellent stream computing engines, such as Apache storm (distributed real-time computing system), Apache Filnk (general data processing platform) , Spark Streaming, etc. In these systems, the generation of data is completely determined by the data source. The dynamic change of the data source and the inconsistency of the state lead to the suddenness of the data flow rate, and the suddenness of the data flow often leads to the occurrence of overload. There are several reasons: network congestion, user request burst peak, etc. In real-time strea...

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/50G06F9/54
CPCG06F9/5027G06F9/5016G06F9/544G06F2209/5018G06F9/54G06F9/50
Inventor 刘土明
Owner ZTE CORP