Configure API Response Streaming Chunk Size
search cancel

Configure API Response Streaming Chunk Size

book

Article ID: 277165

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

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?

Environment

All supported versions of the API Gateway

Cause

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

Resolution

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