Feddit.dk
  • Communities
  • Create Post
  • Create Community
  • Aquileo | heart
    Support Lemmy
  • Aquileo | search
    Search
  • Login
  • Sign Up
Mistiy@lemmy.zip to linuxmemes@lemmy.world · 9 days ago

Oh... shit. Oops

lemmy.zip

Aquileo | external-link
Aquileo | message-square
111
Aquileo | link
Aquileo | fedilink
933
Aquileo | external-link

Oh... shit. Oops

lemmy.zip

Mistiy@lemmy.zip to linuxmemes@lemmy.world · 9 days ago
Aquileo | message-square
111
Aquileo | link
Aquileo | fedilink
  • bobzrkr@sh.itjust.works
    Aquileo | link
    Aquileo | fedilink
    Aquileo | arrow-up
    69
    ·
    9 days ago

    In AWS S3, they’re objects, not files. But you upload files to objects. And can download an object to a file. But they’re not files. Trust me bro.

    • AmyAye@nord.pub
      Aquileo | link
      Aquileo | fedilink
      English
      Aquileo | arrow-up
      29
      ·
      9 days ago

      You know, the same deal kind of applies about “losing newcomers”. Because I avooded using AWS because everything seemed cryptic and weird with its terminology. So other companies got my business.

      • Don't forget to stay hydrated.🍉🍉🍉🍉🍉@sh.itjust.works
        Aquileo | link
        Aquileo | fedilink
        Aquileo | arrow-up
        16
        Aquileo | arrow-down
        1
        ·
        9 days ago

        avooded

        Awoooo!

      • zarkanian@sh.itjust.works
        Aquileo | link
        Aquileo | fedilink
        Aquileo | arrow-up
        15
        Aquileo | arrow-down
        1
        ·
        9 days ago

        Cryptic and weird and their documentation is the worst.

    • ViatorOmnium@piefed.social
      Aquileo | link
      Aquileo | fedilink
      English
      Aquileo | arrow-up
      8
      ·
      9 days ago

      That’s mostly because it doesn’t have real directories, it just simulates them with string prefixes and if you forget that on large buckets you are going to have a bad time.

      • merc@sh.itjust.works
        Aquileo | link
        Aquileo | fedilink
        Aquileo | arrow-up
        2
        ·
        9 days ago

        What makes that different from a “real directory”?

        • ViatorOmnium@piefed.social
          Aquileo | link
          Aquileo | fedilink
          English
          Aquileo | arrow-up
          3
          ·
          8 days ago

          Imagine you have dir1/dir2 with “directories” inside, each one with millions of “files”/objects. When you try to “ls” the dir1/dir2 by querying Prefix='dir1/dir2/' and Delimiter='/' S3 will still scan all the millions of objects starting with the prefix, and then filter out the ones that have a / after the prefix.

          • toynbee@piefed.social
            Aquileo | link
            Aquileo | fedilink
            English
            Aquileo | arrow-up
            1
            ·
            6 days ago

            And the benefit of this is …

            • ViatorOmnium@piefed.social
              Aquileo | link
              Aquileo | fedilink
              English
              Aquileo | arrow-up
              1
              ·
              6 days ago

              There’s no benefit or drawback on it’s own. The way the keys and queries work are geared to S3’s nature as a key value object store - which requires it to support keys that wouldn’t be valid file paths or that have different delimiters.

    • agentTeiko@piefed.social
      Aquileo | link
      Aquileo | fedilink
      English
      Aquileo | arrow-up
      6
      ·
      8 days ago

      There is a reason for that since S3 is not block storage and doesn’t have a Hierarchal filesystem. That’s why when you create folder in the S3 console what you are really creating is a prefix meaning its just a placeholder to auto add the prefix string to the beginning of all objects. But all objects in the bucket are flat when it comes to the API. Plus the way the files are stored in the shards in S3. You can limit Throughput by treating prefixes like a hierarchical filesystem too much.

    • Jul (they/she)@piefed.blahaj.zone
      Aquileo | link
      Aquileo | fedilink
      English
      Aquileo | arrow-up
      4
      ·
      8 days ago

      The more confusing thing I’ve had to explain to too many developers is that it’s not a directory regardless of what it looks like on the AWS website view. It’s a “prefix” meaning the entire thing, including the slashes, is just part of the filename, there is no real structure inside a bucket. So there’s no such thing as relative paths to search for things. When you call the list objects function with a prefix it’s the same as doing a “starts with” on a string. You can’t give it a partial “path” relative to another object that appears to be in another “folder”.

    • Viking_Hippie@lemmy.dbzer0.com
      Aquileo | link
      Aquileo | fedilink
      Aquileo | arrow-up
      3
      ·
      9 days ago

      In Magpiper, they’re Blarts.

    • 🇰 🌀 🇱 🌀 🇳 🇦 🇸 🇰 🇦 🇵 🇮@lemmy.world
      Aquileo | link
      Aquileo | fedilink
      Aquileo | arrow-up
      1
      ·
      9 days ago

      deleted by creator

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community – if that is a problem for you, you should leave.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don’t come looking for advice, this is not the right community.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
Aquileo | globe

This community can be federated to other instances and be posted/commented in by their users.

  • 400 users / day
  • 3.93K users / week
  • 7.34K users / month
  • 16.6K users / 6 months
  • 46 local subscribers
  • 32.3K subscribers
  • 2.33K Posts
  • 135K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.worlddeleted by creator
  • zephyr@lemmy.world
  • Err(()).unwrap()@lemmy.world
  • BE: 0.19.19
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org