Mark Bean created NIFI-8968:
-------------------------------

             Summary: Improve throughput performance for InvokeHTTP
                 Key: NIFI-8968
                 URL: https://issues.apache.org/jira/browse/NIFI-8968
             Project: Apache NiFi
          Issue Type: Improvement
    Affects Versions: 1.14.0
            Reporter: Mark Bean
         Attachments: PostHTTP_vs_InvokeHTTP.json, PostHTTP_vs_InvokeHTTP.xml

InvokeHTTP is the preferred processor to use over the deprecated PostHTTP. 
However, PostHTTP outperforms InvokeHTTP (at least in POST mode). A template 
and a JSON file have been attached to this ticket for benchmarking the two 
processors. Using this flow, PostHTTP was observed to have a throughput of 
approximately 5 times greater than InvokeHTTP.

In addition, it was noted that InvokeHTTP had approximately 5 times as many 
tasks and 5 times the task duration for a given 5 minute stats window. And, the 
statistics of Bytes Read and Bytes Transferred remain at zero for InvokeHTTP; 
this area accurate statistics also needs to be addressed.



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

Reply via email to