News for hackers. Stuff that matters.
Re:Is POSIX really outdated? by delta_p_delta_x on Thursday October 19, 2023 @10:39AM (#37943533)
[delayed]
Re:Is POSIX really outdated? by PaulDavisThe1st on Thursday October 19, 2023 @12:52PM (#37945309)
> There are plenty of examples of native programs leveraging object storage, whether in the cloud, or on-premises. Consider the latest release of Microsoft Flight Simulator, which streams high-quality assets (city/building 3D models, terrain, textures, weather data, real-time NPC air traffic, etc) in real-time as the user flies over the virtual Earth[1]. The competition has distinctly worse graphical fidelity, primarily because of storage concerns

Well that's cool, but why on earth would I expect to use a POSIX API for that, and conversely, why would I expect to use the API that presumably is used for that (decidely non-POSIX-y in most ways) when I want to interact with my own kernel and associated hardware? The tasks are fundamentally different.

"I want object storage APIs for local storage" <= completely reasonable

"I want object storate APIs to be like POSIX or vice versa" <= considerably less reasonable

Re:Is POSIX really outdated? by klmr on Friday October 20, 2023 @06:09AM (#37954252)
Why? Because all typical, existing applications written for POSIX systems use the POSIX API (usually indirectly) to interact with the filesystem and perform IO. Being able to use that vast ecosystem of existing applications seamlessly with object storage is such a common requirement that a good dozen different object storage-to-POSIX abstraction layers exist (many of them on top of FUSE).

Even if you build your scalable production environment from scratch with native object storage support (which is rare!), it’s eminently useful to be able to use coreutils to interact with said object storage for devops: nothing beats e.g. running grep on a list of log “files” in an S3 bucket in terms of convenience.

Re:Is POSIX really outdated? by jra_samba on Thursday October 19, 2023 @07:47PM (#37950357)
Have you tried running Samba on top of cunoFS ? I'd be interested in performance data on that. For SMB3 access it might be better to add a Samba VFS vfs_cunoFS interface directly. You won't need to open source your client code, just the wrapper.
Re:Is POSIX really outdated? by cuno on Friday October 20, 2023 @06:10PM (#37962058)
Hi sorry I missed this. Yes, you can run Samba for SMB, and Ganesha for NFSv4. Feel free to email us if you think there's a better way though.
Re:Is POSIX really outdated? by jra_samba on Monday October 23, 2023 @06:30PM (#37992498)
Yes, I think there's a better way (which would make Samba faster on your system :-). Can you ping me at [email protected] and I'll explain !