8000 GitHub - servanter/easydfs: A simple distributed file system.Based the java nio system.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

servanter/easydfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easydfs 分布式文件系统

为什么做easydfs

  与传统的分布式文件系统类似, 将上传的文件分散的每个实体机上, 达到分担压力的效果。

easydfs功能

  • 文件上传下载
  • server检测client可用性
  • replica自动备份shared数据
  • 节点选举
  • 文件存储分片

easydfs缺点

中心化server缺点, 由于所有的数据、文件、指令都是从server发送到client, 所以server端压力过大, 目前主流的分布式文件存储都是去中心化思想。

easydfs 快速入门

EasyDFSServer

主要功能

EasyDFSServer中心, 主要功能为监控、调解client、文件上传、文件下载等。

启动指令

-shareds=1 -folder=D:\nio\server\

  • -shareds:分片数量
  • -folder:server存储路径(只存储client文件索引、文件版本等)

EasyDFSClient

主要功能

EasyDFSClient客户端, 主要功能为文件存储

启动指令

-folder=D:\nio\client1\

  • -folder:client存储路径(存储文件、文件版本)

EasyDFSObserver

主要功能

节点监控、选举

ReplicaCollect

主要功能

client版本收集

RepliSync

主要功能

replica同步shared

EasyDFSDownload

主要功能

文件下载API

EasyDFSUpload

主要功能

文件上传API

About

A simple distributed file system.Based the java nio system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0