[
https://issues.apache.org/jira/browse/NIFI-6932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16991610#comment-16991610
]
Otto Fowler commented on NIFI-6932:
-----------------------------------
It is true to say that there are or will be multiple opportunities for caching
function results in EL in general.
Maybe this Jira should be a little more generic, with hostname being the first
example
> 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)