Created 02-09-2016 03:34 AM
Does NiFi have any communication protocalls which would help increase performance on network with low bandwidth?
Use case example:
Moving data from FTP server (cali) to data center in New York. Performance is terrible due to bandwidth.
Can NiFi Help? if so how?
Created 02-09-2016 03:36 AM
@Sunile Manjee that's one of the strengths of nifi it has prioritization of events so you can specify what data is most important and send it through first. So short answer yes as nifi was designed to work in 3rd world countries where connectivity is luxury. Every connector has a few different priority rules and you can set attributes on data to treat what events are most important.
Created 02-09-2016 07:27 PM
@Sunile Manjee https://nifi.apache.org/docs.html first few paragraphs
Created 02-10-2016 03:33 PM
Multi-thread support is provided via the concurrent tasks configuration parameter on a processor. Think of as being able to run multiple copies of the same processor in parallel on the same NiFi instance. Each thread is not tied to one another, so no file chunking occurs here. NiFi works on batches of files to be more efficient, so multiple thread would allow a processors to work on multiple batches at the same time. So in the case of a putSFTP, multiple connections will be established with destination at the same time sending multiple batches of files. If the network bandwidth exists, this can result in a considerable increase in overall throughput. |
Created 02-10-2016 03:48 PM
@Sunile Manjee there's multiple ways of doing things, you can split a large file into smaller files, I've done that with CSV and split by column types. This is just one way.