[ 
https://issues.apache.org/jira/browse/NIFI-6932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Kovalev updated NIFI-6932:
-------------------------------
    Description: 
NiFi  Expression Language evaluate hostname() for every flowfile and when we 
have large number of files, it becomes a bottleneck because we have to evaluate 
the same value over and over.

So, i suggest to  cache value of hostname() function in itself function or 
create cachedHostname(boolean) function.

  was:
NiFi  Expression Language evaluate hostname() for every flowfile and when we 
have large number of files, it becomes a bottleneck because we have to evaluate 
the same value over and over.

Is this right way to build cache into hostname() or create 
cachedHostname(boolean) function?


> NiFi Expression Language - hostname
> -----------------------------------
>
>                 Key: NIFI-6932
>                 URL: https://issues.apache.org/jira/browse/NIFI-6932
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: 1.10.0
>            Reporter: Ilya Kovalev
>            Priority: Minor
>
> NiFi  Expression Language evaluate hostname() for every flowfile and when we 
> have large number of files, it becomes a bottleneck because we have to 
> evaluate the same value over and over.
> So, i suggest to  cache value of hostname() function in itself function or 
> create cachedHostname(boolean) function.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to