Reputation: 77
I have a use case where my API shall be exposed to the external clients via the API Gateway. The request params include a large text file (~100MB) and some other parameters in the payload. After doing some processing on the data from the file, I intend to send the updated file in the response body.
Please help out as how can I solve this use case of mine. Thanks
Challenges:
The processing of the API request could exceed the API Gateway timeout limit of 30 seconds. The payload of the request and the response exceeds the payload limit of 10 MB.
Upvotes: 2
Views: 825
Reputation: 6876
You'll most likely want this to be an asynchronous process, where you:
Uploading, transforming and downloading a ~100MB text file is probably not a synchronous process you'd want users waiting around for.
Upvotes: 2