Skip to content
Camille Coti edited this page Mar 30, 2015 · 20 revisions

Welcome to the daft wiki!

Semantics of the DAFT CLI commands

ls

query the state of the system (list of files, list and placement of chunks)

put

add a file into the system

get

retrieve a file from the system

cat

catenate several files into one

quit

stop the system

Architecture

client, metadata server, repositories

Implementation

ls

ls interrogates the metadata server only.

put

put adds a file in the system, meaning that it distributes them between the repositories.

The client cuts the file into chunks and distributes the chunks between repositories. It is somehow equivalent to a scatter operation.

In the same time, it gives localization information to the metadata server.

get

get retrieves a file. The file is made of several chunks that are distributed between repositories. The metadata server know where these chunks are.

As a consequence, the client must first ask the metadata server where the chunksare, and then download the chunks and assemble them.

The communication operation between the client and the repositories is somehow equivalent to a gather.

Clone this wiki locally