Support Questions

Find answers, ask questions, and share your expertise

NiFi - Use cases with low bandwidth

avatar
Master Guru

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?

1 ACCEPTED SOLUTION

avatar
Master Mentor

@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.

View solution in original post

12 REPLIES 12

avatar
Master Mentor

avatar
Master Guru
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.

avatar
Master Mentor

@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.