Concise distributed system implementation-open source project

Source: Internet
Author: User
Tags tmp file
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.