threefoldtech / rfs

A fuse filesystem in rust
Apache License 2.0
1 stars 1 forks source link

Optimize dir store to have multi-layer structure #64

Open AbdelrahmanElawady opened 1 month ago

AbdelrahmanElawady commented 1 month ago

Description

Optimize dir store to have multi-layer structure where the first layer contains directories with the first byte (like: 1f) then under each directory we have all blobs that have keys prefixed with this byte (like: 1f677468c9b4e09db7630b52b4a0cc799c3f86e26e7147fc61e30fdd94f81dde, 1f1b11c3509a473b77a0ffdc8d7e6a744da92293ecb3d8c38a436dd4dbdb27b5).

Example tree here.