Hacker News
Amazon S3 now supports reading parts of multipart uploads in progress
82 points by dabinat
ago
|
18 comments
davidkwast
|next
[-]
"Amazon S3 now makes each part of a multipart upload readable as soon as it arrives, before the object upload completes. Your applications can begin downstream processing as each part lands, and run uploads and processing in parallel. This helps you accelerate processing pipelines such as media ingest, transcoding, analytics, and AI transcription."
reddmachine
|next
|previous
[-]
Nice! So many workflows for media processing, streaming and other chunks are dependent on S3 triggers. Now everything can start executing much quicker, granted they handle part-based processing.
matt-attack
|root
|parent
[-]
I’m struggling to think of media workflows where processing some arbitrary chunk of a much larger file is ever useful. Examples?
giancarlostoro
|root
|parent
|next
|previous
[-]
Presumably you could start processing as it comes in.
dabinat
|root
|parent
|next
|previous
[-]
Thumbnail generation only needs to happen on one frame of the file.
But I think the idea behind this feature is to get a head start on long-running operations like encoding.
QuercusMax
|root
|parent
|next
|previous
[-]
You could do basic sanity checks based on the file headers with all kinds of different data. You could also do things like early-reject bad uploads. For things like tabular data, you could scrape just the column names from a CSV or something. There are tons of possible use cases. Start labeling that particular upload with metadata source from the in-process stream, and show it to the user instantly.
qurren
|previous
[-]
Seems like it is getting bloated. So I guess we can now build videoconferencing on S3, SQlite-over-s3, and a bunch of other things that are not supposed to happen
atonse
|root
|parent
|next
[-]
Don't agree on "not supposed to happen" - S3 was always about being "blob storage" which was a superb abstraction rather than "file storage" - and it has now seemed to become the storage layer of a whole set of tools.
Can't comment on the costs (transaction costs, etc) cuz I haven't run S3 that way at any scale, but others could comment on that. But it seems to be a great options for many sets of solutions where you need to quickly read and write bytes in a durable way.