API sending huge response blocked by Gateway

Hi

We have a use case where one of the API send huge response (~27MB) from backend.

So after going through the link below

http://docs.apigee.com/api-services/content/enabling-streaming

Is it advisable to increase the size to 30MB which is by default 10MB of below property in message-preocessor.properties ? Does it have any performance impact ?

conf_http_HTTPResponse.body.buffer.limit=30M

We are not using the streaming option as it is not recommended if we have policies attached to api-proxy.

Thanks

0 1 123
1 REPLY 1

Not applicable

This question is very specific to your usage of Edge, API traffic pattern and volumes which are not described above.

Enabling streaming will be the recommended action given the large response size.

If streaming is not possible, my suggestion will be to make the change in non-production and test (load test) to validate Message Processor resources utilization and APIs behavior compared to your SLAs.

Have you customized Message Processor Java heap values?. Depending on test results, you may need to make some adjustments.