14 comments

  • nater50004 hours ago
    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.
    • ByteOfWood15 minutes ago
      Was something preventing your team from building this yourself? I'd think it would be trivial to send files as 1GB chunks and simply save those chunks in S3.
  • mmillin24 minutes ago
    Sounds similar to Backblaze’s B2 live read feature.<p><a href="https:&#x2F;&#x2F;www.backblaze.com&#x2F;blog&#x2F;announcing-b2-live-read&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.backblaze.com&#x2F;blog&#x2F;announcing-b2-live-read&#x2F;</a>
  • markus_zhang3 hours ago
    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.
    • stingraycharles3 hours ago
      You can start processing data before it’s fully uploaded. I can think of media transcoding as one use case.
      • markus_zhang3 hours ago
        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.
        • stingraycharles3 hours 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.<p>The change here is that now these files are not hidden anymore.
          • markus_zhang3 hours ago
            Thanks, oh that’s simpler than I thought. I thought it’s something embedded in the filesystem.
            • amirathi53 minutes ago
              It&#x27;s conceptually simple but at S3&#x27;s scale, everything that can go wrong does go wrong.
            • stingraycharles3 hours ago
              There are probably some optimizations in place, such as ensuring all objects arrive on the exact same node and whatnot, but yeah it’s really simple.<p>It’s also a bit of a leaky abstraction: if you cancel a multipart upload, all those “hidden” files remain. As such, you need to set an S3 lifecycle rule to clean up all those invisible files periodically.
              • markus_zhang1 hour ago
                Thanks. That’s an interesting observation that I didn’t think about. When the user cancel a multiparty upload, why can’t the server simply remove those parts? Is it because they are being read?
                • stingraycharles49 minutes ago
                  Because it’s all distributed, and the server is “simple”, it’s not inherently aware of a client canceling. Well, it could, but then that would make the backend logic (much) more complicated, and you can’t differentiate between a client temporarily disrupted and retrying the upload later vs actually never going to finish, etc.<p>Basically these types of systems are designed to be simple, because that’s a great way to keep things stable.
  • bilalq3 hours ago
    Could someone more familiar with the way compute-storage separated databases work today (like Neon, Clickhouse, Cursor&#x27;s Continuity git storage, etc) chime in and share if we could expect benefits to those systems thanks to this feature?
    • xyzzy_plugh3 hours ago
      Hello! Yes, it could. Often times these systems have mixed bundles of records at ingest, and sort and compact them later. Compacting into large sorted objects is necessary for cold access to be performant not to mention cost effective. Being able to read those large objects before they are completed could, in theory, reduce costs and improve performance of reads during query or hydrating warm caches -- bringing nodes online, rebalancing, etc.<p>It is unlikely to be a significant change, though, and the economics only make sense for certain workload shapes and sizes (most likely very large).<p>The biggest benefit I see is in log appending systems that can write large objects without needing compaction.
  • reddmachine1 day 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.
    • matt-attack1 day ago
      I’m struggling to think of media workflows where processing some arbitrary chunk of a much larger file is ever useful. Examples?
      • duskwuff1 day ago
        Playback and conversion of partially uploaded audio&#x2F;video streams.
      • gopher_space3 hours ago
        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&#x27;s the smallest machine I can use to run our transformations on the fly?<p>It seems like an interesting tool to know about when you&#x27;re looking at an infrastructure spreadsheet.
      • giancarlostoro5 hours ago
        Presumably you could start processing as it comes in.
      • nkozyra5 hours ago
        Live transcription
      • dabinat1 day ago
        Thumbnail generation only needs to happen on one frame of the file.<p>But I think the idea behind this feature is to get a head start on long-running operations like encoding.
        • scheme2715 hours 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.
          • ZeWaka5 hours ago
            &gt; you may need to go back a bit to reconstruct a given frame<p>Presumably you&#x27;d be streaming in-order.
          • RKearney5 hours ago
            How far is a bit? Don&#x27;t most codecs have keyframes every 1-4 seconds?
            • vlovich1234 hours ago
              It&#x27;s not a function of the codec - it&#x27;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.
      • shermantanktop4 hours ago
        CVML on video frames - e.g. object detection.
      • thibaut_barrere5 hours ago
        Trimming comes to mind
      • pyrolistical5 hours ago
        Latency is reduced
      • QuercusMax4 hours 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.
  • davidkwast4 hours ago
    &quot;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.&quot;
  • Kalanos5 hours ago
    Genomics
  • bigbuppo3 hours ago
    So... they&#x27;re finally catching up to zmodem?
  • qurren5 hours 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
    • atonse4 hours ago
      Don&#x27;t agree on &quot;not supposed to happen&quot; - S3 was always about being &quot;blob storage&quot; which was a superb abstraction rather than &quot;file storage&quot; - and it has now seemed to become the storage layer of a whole set of tools.<p>Can&#x27;t comment on the costs (transaction costs, etc) cuz I haven&#x27;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.
      • QuercusMax4 hours 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.
        • codesnik1 hour ago
          super easy? you probably have to store some temporary metadata somewhere, so that readers would be blocked if they try to get ahead of the writer. And the blocking mechanism itself. And what to do if upload is canceled. It feels like there&#x27;re a lot of small details like that.
    • echelon4 hours ago
      It&#x27;s a tool and utility, and this unblocks a large class of new functionality. Lowers latency on broad classes of apps too.<p>It&#x27;d be great if we could reinvent the whole of hyperscaler infra as open source though.
      • senderista3 hours ago
        &gt; It&#x27;d be great if we could reinvent the whole of hyperscaler infra as open source though.<p>Ceph has been around for a while.
  • minfazhai14 minutes ago
    [dead]
  • dropdropteam1 hour ago
    [dead]
  • juyeam2 hours ago
    [dead]
  • charan3451 day ago
    [dead]
  • nyc_pizzadev4 hours ago
    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)
    • Symbiote3 hours ago
      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.