File-Based Access

From Gcube Wiki
Revision as of 11:23, 28 February 2012 by Roberto.cirillo (Talk | contribs) (Created page with 'Library that support facilities for access and manage objects on a remote File Storage Service. Large and small files are organized in directories under a unified interface. The …')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Library that support facilities for access and manage objects on a remote File Storage Service. Large and small files are organized in directories under a unified interface. The interface is posix like.


Overview

The Library permits manipulation of remote files like a local fileSystem. You can download, upload remove and add a new file object in a remote File Storage Service. Also is possible remove the contents of a remote directory or show the list of object in a remote directory. Files may be downloaded and shared by several users. Based on the permission given by the owner of the file. the library can interface with different backends like: MongoDB or Terrastore. Providing a common interface to the user who uses, regardless of the backend used. the library can interface with different backends for storing files, such as MongoDB or Terrastore. The library offers to the user a common interface that is used regardless of the backend. The backend is responsible for storing files, the library rather than to convey the right way storage requirements. Through the use of metadata, the library lets you organize your files in a structured way even if the backend used and flat type.

Key Features

The subsystem comprises the following components:

Structured-files storage: supports structured data. You can build folders tree and files. Folders are made through the use of metadata, so even if the File Storage System does not allow the use of structured data, you can also build directory on a flat storage like mongoDB.

Secure storage: access to data is so authenticated: userID, group. Each file has an owner and for each file you can specify access rights: private: read and write access allowed only to the owner of the file, shared: read and write access granted to all group members, public: read access and write to all users allowed

Data balancing: the files are organized in chunks and are distribuited on all the servers of backend file storage system based on the actual load of each server

Scalability: horizontal scalability and replication are provided which are necessary functions for large deployments. The horizontal scalability is guaranteeed because the files are organized in chunks and are distribuited on all the servers of backend file storage system

Data replication: supports asynchronous replication of data between servers for failover and redundancy.


Design

Philosophy

Navigating through folders on a remote storage system, having the ability to download and upload files, masking the backend system. This is the main goal of this library The library is thinked for preserving a unified interface that aligns with their generality and encapsulates them from the variety of File Storage Service Backend. The two layer: core and wrapper library permit the use of the library in standalone mode or in the Gcube framework.