Configure API Response Streaming Chunk Size
search cancel

Configure API Response Streaming Chunk Size


Article ID: 277165


Updated On:


CA API Gateway


When the consumer calls an API, it is adding a significant delay to the response time, whereas when the consumer calls the backend Server URL directly, it takes a much shorter time.

APIM calls are streaming the response in 16KB chunks but the backend is doing it in 4KB chunks. Is there a way to modify the chunk size for a response at the APIM Gateway level?


All supported versions of the API Gateway


Starting with GW 10 CR01, we upgraded the Tomcat and we did not find any problems that justified implementing this configuration item.


There is no way to configure the chunk size on the gateway side. The chunk size is determined by Tomcat.