Skip to content

NebulaBootstrap provides service for developers to quickly build a distributed systems (including configuration management, service discovery, routing, load balancing, leadership election, distributed sessions, cluster state and so on).

Notifications You must be signed in to change notification settings

Bwar/NebulaBootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 中文                 Bwar's blog.

NebulaBootstrap: a distributed systems solution build on nebula.

Author Platform License

  1. Overview
  2. License
  3. Getting start
  4. Documentation
  5. Depend on
  6. Todo list
  7. Change log

Overview

NebulaBootstrap provides service for developers to quickly build a distributed systems (including configuration management, service discovery, routing, load balancing, leadership election, distributed sessions, cluster state and so on). nebula_cluster

License

MIT License

Copyright (c) 2018 Bwar

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Getting start

NebulaBootstrap was consist of NebulaBeacon, NebulaInterface, NebulaAccess, NebulaLogic, NebulaMydis, NebulaDbAgent and NebulaLogger, and they were builded passing with gcc6.4 on centos6.5(upgrade binutils to 2.22 or later) and centos7.4.
NebulaBootstrap provides automate building and deploying.

automate building and deploying follow these step:

  1. wget https://github.com/Bwar/NebulaBootstrap/archive/master.zip
  2. unzip master.zip; rm master.zip; mv NebulaBootstrap-master NebulaBootstrap
  3. cd NebulaBootstrap
  4. chmod u+x deploy.sh
  5. ./deploy.sh

Run deploy.sh, the NebulaBootstrap distributed services were build completed. The reliance of Nebula was also automatically downloaded and compiled by deploy from the Internet before the construction of Nebula. The deploy path as follows:

  • NebulaBootstrap

    • bin         server bin location。
    • build        build path,created by deploy.sh, if you do not need to build again, just delete it.(optional)。
    • conf        configuration path.
    • data        application data path. e.g. Nebio which is a data collect and real-time analysis application, write it's data to this path (optional).
    • lib         library path.
    • log         program logs path.
    • plugins       plugins path.
      • logic       plugins for logic server(optional).
    • script       script path. deploy.sh, startup.sh and shutdown.sh were depend on this path.
    • temp        temp file path(optional).
    • configure.sh     run configure.sh for a simple configuration when deploy for the first time.
    • deploy.sh      auto build and deploy.
    • shutdown.sh      shutdown one or more server.
    • startup.sh      startup one or more server.
    • README_cn.md
    • README.md

    build completed, you can start the server:

./configure.sh
./startup.s

Documentation

The complete documentation for NebulaBootstrap is coming...

Depend on

Todo list

  • NebulaMydis Data Agency Service.
  • Developing an IM with the Nebula.

Change log

v0.8

  • compatible with gcc4.8 compiler.
  • add cpu affinity inorder to support cpu binding.
  • add dynamic library unload.

v0.7

  • add configuration management(check Nebcli for detail).

v0.6

  • NebulaBeacon adds node status information query, registration center leader-fllower election.
  • NebulaInterface adds hello demo.

v0.5

  • add node info to worker the worker process terminated unexpectedly and restarted by the Manager.
  • ipv6 support.

v0.4

  • distributed log service test passing.
  • add https support.
  • add keep alive settings to http channel.
  • replace repeated http headers with proto3 map.
  • provides a symmetric encryption key setup interface for channel.
  • bug fix.

v0.3

  • rewrite with C++14
  • create actors by reflection (using template)
  • add distributed trace log

v0.2

  • the first runable version

About

NebulaBootstrap provides service for developers to quickly build a distributed systems (including configuration management, service discovery, routing, load balancing, leadership election, distributed sessions, cluster state and so on).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages