8000 GitHub - alexghr/chunker: ¯\_(ツ)_/¯ ipfs-like file chunking
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alexghr/chunker

Repository files navigation

file chunking

I was reading about IPFS and I got really interested in the way they're splitting files and saving them in the (IPFS) repo. This project just contains my notes and experiments related to this 😬

basic chunker

The basic chunker just naively splits content into equal chunks and tries to build a tree from it. Only the leaves contain data and each node can have upto a defined number of links.

Here's how the tree would look for a chunk-size of 8 bytes and 4 links per node

basic chunker

This is not a balanced tree, most content is concentrated on the left.

About

¯\_(ツ)_/¯ ipfs-like file chunking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0