From db3abf3de5c8fc835803f3e605d4145244ec4178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=B4=A0=C9=AA=E1=B4=84=E1=B4=9B=E1=B4=8F=CA=80=20=CA=99?= =?UTF-8?q?=E1=B4=8A=E1=B4=87=CA=9F=E1=B4=8B=CA=9C=E1=B4=8F=CA=9F=E1=B4=8D?= Date: Tue, 9 Jan 2018 14:30:25 +0000 Subject: [PATCH] Added sharding to experimental features Not sure about "Road to being a real feature" and also would like to have clarified when this is being used. My understanding is that it'll shard automatically both when using the Files API and also when doing `ipfs add -r` but I'm not 100% about this. License: MIT Signed-off-by: Victor Bjelkholm --- docs/experimental-features.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/experimental-features.md b/docs/experimental-features.md index 049621815..16cffb535 100644 --- a/docs/experimental-features.md +++ b/docs/experimental-features.md @@ -343,3 +343,25 @@ See [Plugin docs](./plugins.md) - [ ] Needs more testing - [ ] Make sure there are no unknown major problems + +## Directory Sharding / HAMT + +### In Version +0.4.8 + +### State +Experimental + +Allows to create directories with unlimited number of entries - currently +size of unixfs directories is limited by the maximum block size + +### Basic Usage: + +``` +ipfs config --json Experimental.ShardingEnabled true +``` + +### Road to being a real feature + +- [ ] Make sure that objects that don't have to be sharded aren't +- [ ] Generalize sharding and define a new layer between IPLD and IPFS