- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Control rate processor- Apache nifi
- Labels:
-
Apache NiFi
Created ‎03-21-2021 06:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear,
Could you please explain me how the control rate processor works.
Can we use control rate processor while writing data(large file:80GB) into hdfs(using PUTHDFS) to reduce the network bandwidth. The data rate should be 300mbps as we are using all the bandwidth of the network now while writing data into hdfs.
Thank you
Created ‎03-21-2021 10:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ControlRate processor is explained here:
The ControlRate processor allows you to actually control the throughput of a dataflow. It does not slow the processing. The ControlRate processor will allow data to queue in its input side and based on its configured setting only allow x number of FlowFiles through over y amount of time. lets say it is configured to let 5 KB of data through every 1 minute. If you feed it a 37 MB file, it does not transfer just pieces of that FlowFile. It will feed through the entire 37 MB FlowFile and then not allow another FlowFile through until the average data per 1 minute is 5 KB.
Above explanation extracted from another post: https://community.cloudera.com/t5/Support-Questions/ControlRate-and-BackPressure-seems-not-work-for-...
Created on ‎03-22-2021 12:22 AM - edited ‎03-22-2021 02:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you. I found the same but I wanted to know if I can use control rate processor in my scenario.
I want to reduce the bandwidth coming from upstream to PUTHDFS. Can we limit the bandwidth in nifi?
