Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.14 KB

File metadata and controls

53 lines (40 loc) · 1.14 KB

Stack - a distributed file storage service

This is a distributed file storage service, the back-end through a variety of different drivers can be achieved with distributed file storage, front-end with HAProxy achieve high availability.

Installing

git clone http://<git-repo-url>/stack
cd stack
npm install
node_modules/.bin/typings install

Usage

npm run grunt serve

API

"upload" Accepts a POST request of type multipart/form-data and saves the data in the file field of the request to local.

"file" Accept the GET request to get the saved file from local.

Supported storage drivers

"disk" Local disk drive, through this drive with moosefs, GlusterFS, ceph and other distributed file system can support distributed storage.

"ftp" ftp driver.

"hdfs" hdfs driver.

"maria" maria driver.

"memcached" memcached driver.

"mongo" mongodb driver.

"pg" postgresql driver.

"redis" redis driver.