[ 
https://issues.apache.org/jira/browse/NIFI-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250119#comment-16250119
 ] 

ASF subversion and git services commented on NIFI-4598:
-------------------------------------------------------

Commit af3a578711b7ed574ab37257822baa67fdbe8a26 in nifi's branch 
refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=af3a578 ]

NIFI-4598: When we retrieve the 'controller' from a remote NiFi instance in 
order to determine which ports are available, cache those results for up to 
some configurable amount of time (default 30 secs) so that we don't constantly 
issue HTTP Requests to the remote nifi

This closes #2270.

Signed-off-by: Bryan Bende <[email protected]>


> Multiple Remote Process Groups pointing to the same URL each are constantly 
> making HTTP Requests to the destination URL
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-4598
>                 URL: https://issues.apache.org/jira/browse/NIFI-4598
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 1.5.0
>
>
> If I have 10 RPG's pointing to localhost:8080/nifi then I have 10 RPG's 
> making the same HTTP Requests to get cluster info. This can quickly leave to 
> having too many simultaneously requests according to the 
> ThreadPoolRequestReplicator.
> We should be smarter about the caching of the information so that multiple 
> RPG's with the same URL can share this information instead of constantly 
> requesting it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to