logoalt Hacker News

Eikontoday at 7:26 PM10 repliesview on HN

ZeroFS [0] outperforms JuiceFS on common small file workloads [1] while only requiring S3 and no 3rd party database.

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

[1] https://www.zerofs.net/zerofs-vs-juicefs


Replies

huntaubtoday at 7:35 PM

Respect to your work on ZeroFS, but I find it kind of off-putting for you to come in and immediately put down JuiceFS, especially with benchmark results that don't make a ton of sense, and are likely making apples-to-oranges comparisons with how JuiceFS works or mount options.

For example, it doesn't really make sense that "92% of data modification operations" would fail on JuiceFS, which makes me question a lot of the methodology in these tests.

show 3 replies
Dylan16807today at 10:22 PM

> ZeroFS supports running multiple instances on the same storage backend: one read-write instance and multiple read-only instances.

Well that's a big limiting factor that needs to be at the front in any distributed filesystem comparison.

Though I'm confused, the page says things like "ZeroFS makes S3 behave like a regular block device", but in that case how do read-only instances mount it without constantly getting their state corrupted out from under them? Is that implicitly talking about the NBD access, and the other access modes have logic to handle that?

Edit: What I want to see is a ZeroFS versus s3backer comparison.

Edit 2: changed the question at the end

dpacmittaltoday at 8:37 PM

The magnitude of performance difference alone immediately makes me skeptical of your benchmarking methodology.

show 1 reply
ChocolateGodtoday at 8:04 PM

Let's remember that JuiceFS can be setup very easily to not have a single point of failure (by replicating the metadata engine), meanwhile ZeroFS seems to have exactly that.

If I was a company I know which one I'd prefer.

maxmcdtoday at 8:50 PM

does having to maintain the slatedb as a consistent singleton (even with write fencing) make this as operationally tricky as a third party db?

show 1 reply
victorbjorklundtoday at 10:05 PM

Can SQLite run on it?

corvtoday at 7:37 PM

Looks like the underdog beats it handily and easier deployment to boot. What's the catch?

show 2 replies
wgjordantoday at 7:42 PM

For a proper comparison, also significant to note that JuiceFS is Apache-2.0 licensed while ZeroFS is dual AGPL-3.0/commercial licensed, significantly limiting the latter's ability to be easily adopted outside of open source projects.

show 1 reply