Giter Club home page Giter Club logo

cloudstore's Introduction

基于golang实现的一种简易分布式云存储服务

linux默认存储路径/data/tmp/

启动服务

# windows 启动 consul
consul agent -dev
# 启动 gateway 服务
go run service/apigw/main.go --registry=consul
# 启动 account 服务
go run service/account/main.go --registry=consul
# 启动 upload 服务
go run service/upload/main.go --registry=consul
# 启动 download 服务
go run service/download/main.go --registry=consul
# 启动 transfer 服务
go run service/transfer/main.go --registry=consul

功能

  • 单机文件存储
  • MySQL 主从复制
  • Redis 主从复制 + shell 脚本故障转移
  • 秒传功能
  • 分块上传
  • 断点续传
  • Ceph 私有云存储
  • Kodo 公有云存储 (七牛云对象存储)
  • Rabbitmq 异步复制
  • 微服务改造
  • [] 运维自动化

开发环境参数

操作系统 Win 10        IDE VSCode        Go go version go1.12.5 windows/amd64

文档

cloudstore's People

Contributors

draymonders avatar

Watchers

 avatar  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.