Skip to content

Commit

Permalink
Added sharding to experimental features
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
victorb committed Jan 24, 2018
1 parent c1a488f commit db3abf3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/experimental-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit db3abf3

Please sign in to comment.