Support Questions

Find answers, ask questions, and share your expertise
Announcements
Now Live: Explore expert insights and technical deep dives on the new Cloudera Community BlogsRead the Announcement

Suggested value for properties "nifi.cluster.node.protocol.max.threads"

avatar
Expert Contributor

Hi All,

Thanks for help to this awesome community

nifi.cluster.node.protocol.max.threads=

The field is empty by default in nifi.properties

We have a data source feeds producing 15000 events per second.

What do you guys recommend.

As per recommendaions from this community I changed these properties for the above mentioned event per second

nifi.cluster.node.connection.timeout=15 sec 
nifi.cluster.node.read.timeout=15 sec 
nifi.cluster.node.protocol.threads=50

Need suggestions recomendations. I know I have to tune it by changing these properties to reach optimal performance, however a startin value for this nifi.cluster.node.protocol.max.threads=

be awesome

Thanks

Dheeru

1 ACCEPTED SOLUTION

avatar
@dhieru singh

If the nifi.cluster.node.protocol.max.threads property is left blank it will default to a value of 50. Which should be more than adequate for most cases. You can set the nifi.cluster.node.protocol.threads=10, that is your lower limit and the max.threads is your upper limit.

How many nodes are in your cluster?

View solution in original post

5 REPLIES 5

avatar
@dhieru singh

If the nifi.cluster.node.protocol.max.threads property is left blank it will default to a value of 50. Which should be more than adequate for most cases. You can set the nifi.cluster.node.protocol.threads=10, that is your lower limit and the max.threads is your upper limit.

How many nodes are in your cluster?

avatar
Expert Contributor

@Wynner Thanks a lot for theconfirmation, yes I set nifi.cluster.node.protocol.max.threads=50 and nifi.cluster.node.protocol.threads=49, I have 5 nodes in a cluster 16 cores

avatar
@dhieru singh

With 5 nodes, I would set the nifi.cluster.node.read.timeout and nifi.cluster.node.connection.timeout to 60 secs. In addition, I would set the nifi.cluster.protocol.heartbeat.interval to 15 secs instead of the default of 5 secs.

avatar
New Member

@Wynner @dhieru singh, "nifi.cluster.node.protocol.max.threads=50 and nifi.cluster.node.protocol.threads=49, I have 5 nodes in a cluster 16 cores" 
How 50 (other than being default) for max threads and 49 for node protocol is chosen?

avatar
Community Manager

@nruak As this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post. Thanks!


Regards,

Diana Torres,
Senior Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: