David Handermann created NIFI-13799:
---------------------------------------

             Summary: Replicated Cluster HTTP Requests should avoid Response 
Buffering
                 Key: NIFI-13799
                 URL: https://issues.apache.org/jira/browse/NIFI-13799
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: David Handermann
            Assignee: David Handermann


HTTP request replication between clustered nodes buffers responses before 
returning to the client. This is acceptable for standard operations such as 
status retrieval and configuration changes, but it can result in heap memory 
exhaustion when attempting to download large file content for local evaluation. 
This issue is specific to clustered deployments because standalone instances do 
not require request replication.

Buffering the response and deserializing into objects is necessary for 
returning merged status information, but it is not necessary for download 
operations. Refactoring the implementation for more selective buffering based 
on content size and operation type would avoid potential memory issues.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to