Coder Social home page Coder Social logo

data-deduplication's Introduction

DATA DE-DUPLICATION

This is a data de-deuplication project implementated on the basis of client server architecture

the servercli folder acts as the server and the client folder as the client ( client can interact with the server from any machine in the network )

The client just provides the server with the files it wants to store on the server.

The server is responsible for the de-duplication task. it only saves the file if it is unique the files already on the server, if not it instead save the reference of the file which is similar

This task is accomplished by maintaining / stroing the names of file send by each separacted clients to the server along with their location on the server.

to run the server :

g++ -o a server -lboost_serialization -lstdc++fs

Command line parameter for the server is the port number , such as 8000

./a 8000

Note: the executable file name for server should be of one character

to run the client :

g++ -o cli cli.cpp

Command line arguments for the clients are ip address of server and port number ( this should be same as that used in server )

./cli 127.0.0.1 8000

Note : Since the same machine is working as the server, we use 127.0.0.1 ( loopback address ) as ip of server

data-deduplication's People

Contributors

imehar avatar

Watchers

 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.