Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I simultaneously read and write a file in S3?

I'm planning to create a podcast app in Java using S3. I plan to have my audio be placed in S3, live, as I talk while also letting users be able to listen to the audio while I'm talking.

I've searched through documentation but can't seem to find any concrete info on if this is possible, and if so how.

Any help would be appreciated, thanks!

like image 269
stwmbm Avatar asked Nov 27 '25 12:11

stwmbm


1 Answers

Amazon S3 can be used to stream content out, but the object must be there and complete. It's not possible to stream content into S3.

When adding or updating an object in S3, the object is not available to be read until the upload (add or update) is complete.

like image 71
Matt Houser Avatar answered Nov 30 '25 01:11

Matt Houser