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

David Handermann updated NIFI-13799:
------------------------------------
    Fix Version/s: 2.0.0-M5
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>            Priority: Major
>             Fix For: 2.0.0-M5
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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