Giter Site home page Giter Site logo

skyler1grey / data-deduplication Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fanzhang312/data-deduplication

0.0 0.0 0.0 144 KB

Multiple ways of chunking for data deduplication: Fixed size chunking, Content defined chunking, and File based chunking.

Java 100.00%

data-deduplication's Introduction

Data-deduplication

Multiple ways of chunking for data deduplication: Fixed size chunking, Content defined chunking, and File based chunking.

How to run the program

Two arguments are needed: deduplication type and directory

  1. Deduplication type

    • Fixed size chunking : 1
    • File based chunking : 2
    • Content defined chunking : 3

    Need to enter a number (1, 2, or 3) to choose deduplication type.

  2. Directory

    • The path to a directory need to perform deduplication.

    Right now, only chunking and identify the duplicated data chunks are implemented. The deduplication part is not implemented.

If export the source code into a runable jar file then could run as (Example):

java -jar deduplication.jar 1 /Users/fan/Documents

The above command will choose fixed size chunking for directory /Users/fan/Documents. All the file inside that directory will be chunked into 1MB sized chunks. If duplicated chunks found, it will print out the file which contains the duplicated chunks.

If want to use file based chunking, 2 need to be specified. Then if there is duplicated files in the given directory, the file name will be returned.

3 is specified, then it will perform content defined chunking for given directory. For each file, it will return the number of chunks be generated and number of duplicated chunks.

data-deduplication's People

Contributors

fanzhang312 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.