7 ms·
AWS Announces Open Source Mountpoint for Amazon S3
- arpowers 4y agoI use juicefs and it’s the way to go.
- snerbles 4y agoHow do you handle metadata backups?
- natas 4y agowould like to see benchmarks against comparable solutions
- benatkin 4y ago> The open-source client does not emulate operations like directory renames that would require many S3 API calls or POSIX file system features that are not supported in S3 APIs. At this point I'd probably be fine with using a different API than the filesystem, perhaps one inside of whatever backend language I was using Feels more fused than mounted
- yetanotherloss 4y agoIndeed, if you're getting that far away from historical file systems primitives then may as well use an API model that makes senses for the storage backend. Or just contribute direct to rclone and fuse.
- RantyDave 4y agoYou can open an s3 object as a 'file object' in python and it is at least seekable. Other than that I think you're best to treat s3 as a huge kv store and not a filesystem at all.
- dontlaugh 4y agoSeek only works because the whole object gets downloaded into memory first.
- ochoseis 4y agoThis does sound nice, but the article barely mentions a pretty major limitation from the release announcement[0]: > it doesn’t support writes in this first release, and in the future will only support sequential writes to new objects. [0]: https://aws.amazon.com/blogs/storage/the-inside-story-on-mountpoint-for-amazon-s3-a-high-performance-open-source-file-client/ https://aws.amazon.com/blogs/storage/the-inside-story-on-mou...
- tyingq 4y ago>only support sequential writes to new objects. "Doesn't supports writes in the first release" is a letdown, but the latter part above seems expected. I suppose you could abstract what would have to happen to fake arbitrary seek() and overwriting portions of a file, appending, etc, but it would encourage things that wouldn't work well.
- sebazzz 4y agoPartial writes would need to buffered and flush()ed. That is not unlike other file systems, until you fully know it is persisted - or am I missing something?
- tyingq 4y agoThat you can't update an S3 object. There is no equivalent to open() on an existing file, seek() to some position, and modify a few bytes.
- rbanffy 4y agoThat S3 storage is almost immediately consistent on a planetary scale is pretty impressive already. This would make it a lot more complicated to do that. OTOH, you can always engineer around such limitations by storing smaller objects you can completely ingest and store on a single operation.
- stingraycharles 4y agoIt’s not supported by S3 to partially update an object; you would have to completely replace the entire object. While they could do some magic under the hood to make it seem like it works, it’s better to just reject these operations and let the application developer decide what’s best.
- banana_giraffe 4y agoRelated: https://news.ycombinator.com/item?id=35155944 https://news.ycombinator.com/item?id=35155944 - March 14, 2023 (97 comments)
- dheera 4y ago> curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs https://sh.rustup.rs | sh Oof. Can we please, please, please stop releasing software with "| sh"?
- chrsig 4y agoSure, once we have a universal way to accomplish the task that's easier and safer.
- omniglottal 4y agoAnsible provides a module to install OS packages. It works with apt, yum, dnf, pacman, etc. This is just one of the implementation wrappers around a universal way to accomplish the task. This same mechanism also allows uninstallations and relies on the OS to manage dependencies, which it does. This one true way necessitates the "OS package manager" being the way for an OS to manage packages. This exists, and tools exist to eliminate the need to memorize how to do these processes like update, remove, reinstall, rollback, etc. It also centralizes into one config Nd workflow your very limited number of trusted parties, what their GPG keys are, and how to validate, rescind, and securely handle and use those keys. It handles digest verification, sha sum validation, etc. One way to do this exists by as many names as there are distro families, but it's one way nevertheless. This way, with these keys, stored under the security postures built and refined over decades, exists. The people complaining that this one way should be used turn out to have a valid point, and your suggestion is important, so it sounds like you're in agreement: let's use the OS package manager when installing OS packages. This way should be foremost, recommended, and most prominent. It's easier and safer. Do you disagree?
- doodlesdev 4y agoI love Rust but I have to agree installing rustup like that feels like a crime to my machine. For some time I would only install rustup when inside an air-tight virtual machine since I can't really bother to read the sh script every single time I'm going to download it. It's 2023, we have package managers, we have packages, we have containers, why are we still shipping software like this? Even worse is the fact that you can generally find Rust in your package manager of choice but it will often be outdated and you won't be able to choose your versions the same you would with rustup. I don't know, I'm not sure I have a solution, but I just wish maintainers would put a little more effort into trying to support package managers as the de-facto way to set up a tool chain such as Rust. Even if you want to keep the meta-package manager such as nvm or rustup, at least let me download _them_ from my distros repositories instead of running a random sh script from the internet.
- orangepurple 4y agorclone has the ability to mount S3 and many more cloud storage providers as a virtual drive
- metadat 4y agoIs this related to the S3 Rust Mountpoint project? Discussed 12 days ago: Mountpoint – file client for S3 written in Rust, from AWS https://news.ycombinator.com/item?id=35155944 https://news.ycombinator.com/item?id=35155944 (97 comments)
- resoluteteeth 4y agoThe article links to an announcement which links to the GitHub repo linked in that post so yes
- encryptluks2 4y ago[dead]
- jasonjayr 4y agoHow is this different than these other solutions? https://github.com/kahing/goofys https://github.com/kahing/goofys https://github.com/s3fs-fuse/s3fs-fuse https://github.com/s3fs-fuse/s3fs-fuse
- ed25519FUUU 4y agoIt’s an officially supported solution. Other than that they hint at correctness. I would assume it’s going to be faster because why else bother.
- berkle4455 4y ago> I would assume it’s going to be faster because why else bother aws s3 sync (official) is orders of magnitude slower than rclone (oss)
- andrewxdiamond 4y agoWell the sdk is written in Python so the rust option has a bit of an advantage there
- yandie 4y agoFYI mountpoint is written in Rust, but using a new framework called CRT (common runtime) that’s written in C. The perf is multiple of that of the AWS cli since the CLI is in Python. You can actually try using CRT in Python by setting some flag - I forgot what. It doesn’t support all the APIs yet though
- berkle4455 4y agoCool. I was mostly just pointing out the assumption that the official software is somehow the best option is proven incorrect time and time again with AWS.
- deanCommie 4y ago
- reidrac 4y agoI experimented with similar ideas 11 years ago with the OpenStack counterpart of S3, and basically an object storage is not a real filesystem. You can get away with a FTP/SFTP interface (for example), but that's it. Everybody wants a cheap object storage, but not the fact that what you deal with is "objects". I wrote a NBD server to proxy to OpenStack Object Storage: https://github.com/reidrac/swift-nbd-server https://github.com/reidrac/swift-nbd-server -- and it was fun, but not that useful.
- tommek4077 4y ago> Everybody wants a cheap object storage [...] Are you sure? I would guess most people want a networked, cheap file system. Not an object-storage.
- Moissanite 4y agoNormal file-systems come with too much baggage - permissions portability between Windows and Linux being the main bugbear for my own use-cases.
- tommek4077 4y agoAnd AWS Rights Management is the pinnacle of this approach.
- tete 4y agoTo be frank, I think S3 developments like this might happen due to S3 compatibility both on the "server" (Backblaze B2, Minio, SeaweedFS, etc.) and so on as well as on the client side happens, so Amazon is probably not too happy about competition. It's probably a good idea to stay away even from open source by Amazon, given that there is very well, used in production by big companies, working and more independent alternatives.
- hazbot 4y agoI’ve been burnt by trying to use FsX as a mount-s3-as-a-readonly-filesystem. Flaky mounts, complicated workarounds for maintenance windows - if this lives up to the promise I can delete a whole module (and the cognitive overhead of reasoning about its state and behaviour) that we’ve written to manage a local disk to mirror an s3 bucket.
- kbumsik 4y agoOh I am considering to us FSx for Lustre with S3 export/import for our ML workloads. Isn't it stable enough?