Node.js developer here who has to work with Ruby, so I'm pretty new to a lot of concepts in Ruby and could use some help.
My use case is that I have to download very large newline delimited JSON files from S3, transform the data, and put it back to S3, all in memory without writing anything to disk.
In Node, I can do something like this:
s3DownloadStream('my-file').pipe(transformStream).pipe(backToS3Stream)
which will transform objects on the fly as they come in and put them to S3 concurrently.
I am having trouble finding a good plan of action to achieve this same behavior in Ruby. I have seen IO.pipe and Celluloid::IO as possible options, but they still don't seem quite like they will be able to do this.