ipfs-rust / ipfs-embed

A small embeddable ipfs implementation
348 stars 49 forks source link

rewrite sled block store #33

Closed dvc94ch closed 3 years ago

dvc94ch commented 3 years ago

the ipfs-sqlite-block-store supports features like reverse_alias, missing_blocks, tmp_pin, stats, supports O(1) aliasing and has an incremental garbage collector. the current ipfs-embed-db needs to be redesigned to support these features.

for debugability the block store needs to be able to support dumping a snapshot and starting with an in memory copy of a snapshot

cryptoquick commented 3 years ago

Ah, I see. I support this. Best to cover lots of ground quickly, rather than "the perfect being the enemy of the good."

dvc94ch commented 3 years ago

I'm probably not going to work on this as the ipfs-sqlite-block-store works well enough

cryptoquick commented 3 years ago

Yeah, I agree, I was pleasantly surprised!