HN.zip

Amazon S3 now supports reading parts of multipart uploads in progress

85 points by - 18 comments
[3 hidden]5 mins ago
"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."
[3 hidden]5 mins ago
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.
[3 hidden]5 mins ago
I’m struggling to think of media workflows where processing some arbitrary chunk of a much larger file is ever useful. Examples?
[3 hidden]5 mins ago
Playback and conversion of partially uploaded audio/video streams.
[3 hidden]5 mins ago
Presumably you could start processing as it comes in.
[3 hidden]5 mins ago
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.
[3 hidden]5 mins ago
Live transcription
[3 hidden]5 mins ago
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.

[3 hidden]5 mins ago
True but with a lot of modern high performance codecs, you may need to go back a bit to reconstruct a given frame. Certainly something that can be worked around though.
[3 hidden]5 mins ago
> you may need to go back a bit to reconstruct a given frame

Presumably you'd be streaming in-order.

[3 hidden]5 mins ago
How far is a bit? Don't most codecs have keyframes every 1-4 seconds?
[3 hidden]5 mins ago
Latency is reduced
[3 hidden]5 mins ago
Trimming comes to mind
[3 hidden]5 mins ago
Genomics
[3 hidden]5 mins ago
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
[3 hidden]5 mins ago
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.

[3 hidden]5 mins ago
Yup, this is just one step closer to making S3 and similar blob storage systems more like real filesystems. Reading an in-progress upload is super easy if you are working with traditional filesystems.
[3 hidden]5 mins ago
It's a tool and utility, and this unblocks a large class of new functionality. Lowers latency on broad classes of apps too.

It'd be great if we could reinvent the whole of hyperscaler infra as open source though.