Data processing method and device based on improved Flume
A data processing and data technology, applied in the field of data processing, can solve problems such as waste of CPU usage, increased operation and maintenance costs, and inability to solve problems such as different processing speeds of Flume, so as to achieve the effect of improving performance and solving bottleneck problems.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] Such as image 3 As shown, the improved Flume of the present invention includes a source component, a channel channel component that encapsulates M file channels FileChannel and a sink component that includes N threads, M is an integer greater than or equal to 2, and N is an integer greater than or equal to 1. M is greater than N. The Flume-based data processing method includes the following steps:
[0062] Step 301: regularly counting the amount of stored data of each of the M FileChannels in the encapsulated channel component;
[0063] Among them, M FileChannels are encapsulated to become a new channel component. For example, if a machine has 2 hard disks, 4 FileChannels are set, and every two FileChannels are placed on the same hard disk to form a high-performance channel component. The high-performance channel component includes 4 FileChannels, and every two FileChannels are on a hard disk. It is also possible to place all 4 FileChannels on one hard disk. You c...
Embodiment 2
[0074] Such as Figure 4 As shown, the improved Flume of the present invention includes a source component, a channel channel component that encapsulates M file channels FileChannel, and a sink component that includes N threads. Both M and N are integers greater than or equal to 2, and M is equal to N. The Flume-based data processing method includes the following steps:
[0075] Step 401: regularly counting the amount of stored data of each of the M FileChannels in the encapsulated channel component;
[0076] Among them, M FileChannels are encapsulated to become a new channel component. For example, if a machine has 2 hard disks, 4 FileChannels are set, and every two FileChannels are placed on the same hard disk to form a high-performance channel component. The high-performance channel component includes 4 FileChannels, and every two FileChannels are on a hard disk. It is also possible to place all 4 FileChannels on one hard disk. You can also require at least 2 hard disks...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com