Skip to content

一种基于内容可变长度文件分块算法的实现 | Baixiangcpp's Blog #98

Description

@baixiangcpp

http://www.ilovecpp.com/2019/02/03/cdc/

作为一个支持增量传输、去重存储的同步盘,实现一个高效率的文件分块算法是重中之重。本篇博客在研究了seafile的分块算法之后,将其中的分块算法实现抽取了出来,并详细描述了它基于可变长度分块(Content Defined Chunking)算法的实现。项目托管在Github上:FileCDC。 编译后,直接将文件名作为参数,即可分块: 同时也很方便集成到其他的项目里,调用cdc_work(con

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions