by amluto · 2y ago · 0 comments
At that scale, I care about integrity. Can someone working in this space please have a real integrity story as part of the offering? Give each object (object, version pair, perhaps) a cryptographic hash of the contents, and make that hash be part of the inventory. Allow the entire bucket to opt in to mandatory hashing. Let me ask the system to do a scrub in which it verifies those cryptographic hashes.
If this blows up metadata to 164 bytes per object, so be it. But the hash can probably get away with being stored with data, not metadata, as long as there is a mechanism to inventory those hashes. Keeping them in memory doesn’t seem necessary.
Even S3 has only desultory support for this. A lot of competitors have nothing of the sort.
Inside the metadata service, it uses merkle tree (hash of hash) to verify the integrity of whole namespace (including id of data blocks) between RAFT replicas. Once we store the hash (4 bytes) of each objects into metadata, it should provide the integrity of the whole namespace.
Otherwise there’s no end-to-end integrity check.
With POSIX API or HDFS, there is no such API to do that, unfortunately.
FileCoin is used to pay for storage, but for now it seems storage is mostly free because of block rewards.
Hedera Hashgraph is none of these
Presumably filesystems built over rocksdb also support this.
> Its metadata engine uses an all-in-memory approach and achieves remarkable memory optimization
Sounds like a fun thing to recover after a crash.
https://juicefs.com/en/blog/engineering/increase-performance...