Better HN
topnewbestaskshowjobs
Log inSign up

Eikon

1,270 karma · joined Dec 12, 2019 (6y ago) · 495 submissions

Submissions

1.

ZeroFS vs. Amazon S3 Files(zerofs.net ↗)

1 points · by Eikon · 4mo ago · discuss

comment 4mo ago · link · parent

Kind-of should work :)

comment 4mo ago · link · parent

NFSv4 is a hard beast to implement correctly, with a lot of protocol surface (state, compound ops, delegations) for benefits ZeroFS mostly gets through 9P with extensions, over a much simpler protocol: https://www.zerofs.net/docs/9p-extensions. NFSv3 stayed in ZeroFS mostly for client compatibility.

comment 4mo ago · link · parent

ZeroFS aims to be a POSIX filesystem, the semantics here are the standard ones (ext4, xfs behave the same): write() is buffered (that's the batching) and "committed" maps to fsync(), which returns only once data is durable.

comment 4mo ago · link · parent

Thank you, appreciated!

comment 4mo ago · link · parent

> I believe the first version of this required the metadata to be stored on the ZeroFS server, making HA kinda hard.

Metadata has always been in the bucket itself.

For HA, there's now a "replicated mode" if you want automatic failover:

https://www.zerofs.net/docs/high-availability

comment 4mo ago · link · parent

That's fair advice, thanks.

comment 4mo ago · link · parent

Is it? :)

Ask me anything!

comment 4mo ago · link · parent

Thank you for the feedback, the idea behind this was to say "We make claims that are backed by workflows you can verify". I'll improve the phrasing.

comment 4mo ago · link · parent

Just a self hosted plausible instance :)

11.

Show HN: ZeroFS – A log-structured filesystem for S3(zerofs.net ↗)

128 points · by Eikon · 4mo ago · 52 comments

12.

Making POSIX filesystems replicated and highly available(zerofs.net ↗)

3 points · by Eikon · 4mo ago · discuss

comment 5mo ago · link · parent

It's there! https://www.zerofs.net/docs/kubernetes-csi

comment 5mo ago · link · parent

Most of the pain here is the typical set of issues people run into trying to make S3 a filesystem as-is, common with S3FS-family approaches.

ZeroFS (https://github.com/Barre/zerofs) is 9P/NFS/NBD over S3 on an LSM. Point stock go-git, or just /usr/bin/git, at a mount and skip the gymnastics. Rename is a metadata op in the keyspace, so you get it atomic on any S3, no Tigris-specific X-Tigris-Rename needed.

Different point on the spectrum, but less square-peg, also most probably much, much faster (it works great on linux-sized repos) :)

comment 5mo ago · link · parent

> Is this only was S3 or any S3 compliant service?

Any S3 compliant service.

> Does it support any sort of storage tiering ?

Yes, it has a local cache that's populated on reads, but no writeback cache yet.

comment 5mo ago · link · parent

> Millions of files, Interrupted transfers, Backup Server Reboots, Long-term operation?

Yes, that should work fine!

comment 5mo ago · link · parent

> I assessed the tool on a CentOS 7 system today. It can't run on older CentOS 6. It will generate core dump.

Perhaps your cpu is too old? The prebuilt binaries require newer CPUs but you can build your own.

> Will ZeroFS support large Filesystem size about 800GB?

Absolutely, and much, much more than that.

18.

Show HN: ZeroFS – Make S3 your primary storage(zerofs.net ↗)

11 points · by Eikon · 5mo ago · 7 comments

comment 5mo ago · link · parent

Even with journaling, you might need one. ZeroFS [0] almost had a lost+found directory (even with the WAL enabled), because you might have consistency issues between your in-memory state and what was flushed, and especially in what order.

ZeroFS ended up not needing recovery at all through atomic, strictly ordered commits [1], but it was far from trivial (and not just a matter of requiring a WAL).

[0] https://github.com/Barre/ZeroFS

[1] https://github.com/Barre/ZeroFS/blob/main/zerofs/src/fs/writ...

comment 6mo ago · link · parent

https://github.com/Barre/ZeroFS Should do a great job at this.

comment 7mo ago · link · parent

It's definitely shared, and can be redundant.

22.

Show HN: PostgreSQL running in the browser, persisting to S3(zerofs.net ↗)

1 points · by Eikon · 7mo ago · 1 comment

23.

Show HN: PostgreSQL running in a browser tab, persisting to S3(zerofs.net ↗)

2 points · by Eikon · 7mo ago · discuss

12345
17