I have been working on a large download. My requirement is to read through 100k+ files (in gzip JSON format) on S3 using S3 Select to filter and stream the data in a downloaded format to the client.
I have written 2 services:
- Client interaction(Controller)
- S3 interaction (S3 Interactor)
When the client hits on the download button, the controller calls S3 Interactor for data, but after a few mins, the connection between services breaks. I am not sure how to keep the connection alive for, say, 30 minutes because the data can be in TBs.