For applications deployed on CloudHub environments, use the following recommendations to help ensure efficient HTTP response streaming and minimize response latency.
Configure the following Mule runtime properties for applications that use response streaming:
mule.http.client.responseStreaming.nonBlockingWrite=true
mule.repeatableStreaming.bytes.eagerRead=true
mule.repeatableStreaming.useFairLocks=true
These properties are recommended to improve streaming behavior and reduce potential contention while processing HTTP responses.
If the application invokes a sub-flow or asynchronous processing block after receiving the HTTP response, consider introducing a small wait before that processing begins. This allows the HTTP response to consume the stream before other processing attempts to access the same resources.
Do not apply the noname-security-mule4 custom policy to the affected API instances.
During troubleshooting, this custom policy was observed to acquire the lock before the HTTP response processing, which could contribute to increased Time to First Byte (TTFB).
For applications deployed on CloudHub 1.0, configure the following HTTP Listener response header for all applicable responses:
X-Accel-Buffering: no
This configuration helps prevent downstream response buffering at the Dedicated Load Balancer (DLB) layer and supports the expected streaming behavior.
005461208

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.