While reading up official documentation on Amazon S3 Java SDK, I found an interesting note:
Your network connection remains open until you read all of the data or close the input stream. We recommend that you read the content of the stream as quickly as possible.
My question is, why does Amazon recommend reading the data ASAP as against, say, streaming it into a data pipeline where we can process the data line by line? I couldn't find the answer on Amazon's documentation website nor on their pricing pages. Nowhere is it mentioned that a long-lived HTTP connection would cost more. Therefore looking for some input from the community.
Thanks