Concise-distributed-storage
A Simple distributed storage model
Introduction:
This project is a training project for learning the distributed object storage course of Mr. Hu Shijie. If you have any questions, please leave a message in issues. You are welcome to communicate with me and thank you for your guidance.
Instructions for use:
Test environment: Go 1.10.4; fedora 28; rabbitmq 3.6.16
- Package installation: Go get "github.com/streadway/amqp"
- Create two exchanges: apiservers and dataservers. Type: fanout
- Create a Super User yaoxu with the highest Permissions
Run the scripts in tools in sequence:
- IP. sh: configure a virtual IP address for testing
- Initenv. sh:/tmp file.
- Startenv. sh: Enable servers in batches
Close:
- Stop. sh: Turn off all service processes
Functions:
- Rest Interface
- Scalability and distribution
- Use message queue for decoupling
GitHub address: https://github.com/yaowenxu/Concise-Distributed-Storage
Keep updated. For more information, see the source. Http://www.cnblogs.com/xuyaowen
Concise distributed system implementation-open source project