This is huge. At my last job, this would have increased our perceived performance tremendously. Users' multi-TB files could be fully processed by the time the upload was complete instead of needing to wait for the full upload to complete before even starting the processing task.
We don’t have large s3 files but this is still a very interesting feature. What could be the internal of this feature? Like reading into blocks and send a signal once X blocks have been processed? Sorry just thinking about traditional FS I read in textbooks 40 years ago.
You mean how multipart uploads are implemented? It’s really quite simple, it’s uploaded as multiple (hidden) s3 files, one by one, and then a final “commit” or “merge” which atomically concats all these files into a single final file.
The change here is that now these files are not hidden anymore.
Could someone more familiar with the way compute-storage separated databases work today (like Neon, Clickhouse, Cursor's Continuity git storage, etc) chime in and share if we could expect benefits to those systems thanks to this feature?
Read after write is a pretty important usecase for filesystems. However, I personally avoid these kinds of snowflake S3 calls since they tend to lock you in. On another note, FiberFS is an FS built on S3 and it supports read after write and works with all S3 vendors (fiberfs.io)
"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."
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.
Exactly how arbitrary is the chunk and how much control do I have over packing the object? How large is the file and what are our costs around bandwidth and storage? What's the smallest machine I can use to run our transformations on the fly?
It seems like an interesting tool to know about when you're looking at an infrastructure spreadsheet.
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.
It's not a function of the codec - it's a function of how the encoder is configured by the application. For example, you can configure the encoder to never emit I frames, emit I frames every 30 frames, etc etc. For wired Oculus Link we used 0 I frames since it was a reliable in-order transport there.
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.
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
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.
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.
This is huge. At my last job, this would have increased our perceived performance tremendously. Users' multi-TB files could be fully processed by the time the upload was complete instead of needing to wait for the full upload to complete before even starting the processing task.
We don’t have large s3 files but this is still a very interesting feature. What could be the internal of this feature? Like reading into blocks and send a signal once X blocks have been processed? Sorry just thinking about traditional FS I read in textbooks 40 years ago.
You can start processing data before it’s fully uploaded. I can think of media transcoding as one use case.
Yeah I get this, but I’m curious what’s the internal implementation of this. I never did any professional filesystem gig so just second guessing.
You mean how multipart uploads are implemented? It’s really quite simple, it’s uploaded as multiple (hidden) s3 files, one by one, and then a final “commit” or “merge” which atomically concats all these files into a single final file.
The change here is that now these files are not hidden anymore.
Thanks, oh that’s simpler than I thought. I thought it’s something embedded in the filesystem.
Could someone more familiar with the way compute-storage separated databases work today (like Neon, Clickhouse, Cursor's Continuity git storage, etc) chime in and share if we could expect benefits to those systems thanks to this feature?
Read after write is a pretty important usecase for filesystems. However, I personally avoid these kinds of snowflake S3 calls since they tend to lock you in. On another note, FiberFS is an FS built on S3 and it supports read after write and works with all S3 vendors (fiberfs.io)
You appear to be one of the developers of FiberFS, so you should mention this rather than posting it in vaguely related discussions every few days.
"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."
So... they're finally catching up to zmodem?
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.
I’m struggling to think of media workflows where processing some arbitrary chunk of a much larger file is ever useful. Examples?
Playback and conversion of partially uploaded audio/video streams.
Exactly how arbitrary is the chunk and how much control do I have over packing the object? How large is the file and what are our costs around bandwidth and storage? What's the smallest machine I can use to run our transformations on the fly?
It seems like an interesting tool to know about when you're looking at an infrastructure spreadsheet.
Presumably you could start processing as it comes in.
Live transcription
CVML on video frames - e.g. object detection.
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.
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.
> you may need to go back a bit to reconstruct a given frame
Presumably you'd be streaming in-order.
How far is a bit? Don't most codecs have keyframes every 1-4 seconds?
It's not a function of the codec - it's a function of how the encoder is configured by the application. For example, you can configure the encoder to never emit I frames, emit I frames every 30 frames, etc etc. For wired Oculus Link we used 0 I frames since it was a reliable in-order transport there.
Trimming comes to mind
Latency is reduced
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.
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
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.
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.
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.
> It'd be great if we could reinvent the whole of hyperscaler infra as open source though.
Ceph has been around for a while.
Genomics