# NebulaBootstrap **Repository Path**: kingsmart/NebulaBootstrap ## Basic Information - **Project Name**: NebulaBootstrap - **Description**: NebulaBootstrap是为开发人员提供快速构建分布式系统(包括配置管理,服务发现,路由,负载平衡,领导选举,分布式会话,集群状态等)的服务解决方案。 - **Primary Language**: Shell - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2018-07-17 - **Last Updated**: 2024-11-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [English](/README.md) | 中文                 [Bwar的技术博客](https://www.bwar.tech). # NebulaBootstrap : 基于Nebula的分布式集群 [![Author](https://img.shields.io/badge/author-@Bwar-blue.svg?style=flat)](cqc@vip.qq.com) ![Platform](https://img.shields.io/badge/platform-Linux-green.svg?style=flat) [![License](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE)
1. [概述](#Overview) 2. [许可证](#License) 3. [编译](#Building) 4. [文档](#Documentation) 5. [依赖](#DependOn) 6. [开发任务](#TODO) 7. [版本历史](#ChangeLog) ## 概述 NebulaBootstrap是为开发人员提供快速构建分布式系统(包括配置管理,服务发现,路由,负载平衡,领导选举,分布式会话,集群状态等)的服务解决方案。 ![nebula_cluster](image/nebula_cluster.png) ## 许可证 > Copyright(c)2018 Bwar > > 特此免费授予任何人获得本软件及相关文档文件(“软件”)的副本,以无限制地处理本软件,包括但不限于使用,复制,修改和合并,发布,分发,再许可和/或销售本软件的副本,并允许本软件提供给其的人员遵守以下条件: > > 上述版权声明和本许可声明应包含在本软件的所有副本或主要部分中。 > > 本软件按“原样”提供,不附有任何形式的明示或暗示保证,包括但不限于适销性,适用于特定用途和不侵权的保证。在任何情况下,作者或版权所有者都不承担任何索赔,损害或其他责任,无论是在合同,侵权或其他方面的行为,不论是由软件或其使用或其他交易引起或与之相关的行为。 ## 编译 Nebula在centos6.5(需升级binutils到2.22之后版本)和centos7.4上用gcc6.4编译通过。 自动构建和部署步骤: 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 然后,启动服务集群: 1. ./configure.sh 2. ./startup.sh ## 文档 Nebula 完成的文档在 [Nebula documentation](https://github.com/Bwar/Nebula/wiki),持续更新中。 ## 依赖 * [protobuf](https://github.com/google/protobuf) * [libev](http://software.schmorp.de/pkg/libev.html) 或 [libev](https://github.com/kindy/libev) * [hiredis](https://github.com/redis/hiredis) * [crypto++](http://www.cryptopp.com) * [http_parse](https://github.com/nodejs/http-parser) 已集成到 Nebula/src/util/http * [CJsonObject](https://github.com/Bwar/CJsonObject) 已集成到 Nebula/src/util/json ## 开发任务 - 2018年6月 增加https支持 - 2018年8月 增加ipv6支持 - 2018年10月 增加协程支持 ## 版本历史 #### v0.3 - 用C++14标准改写整个项目 - 用模板实现反射机制创建actor实例 - 增加分布式追踪日志 #### v0.2 - 第一个可运行并http测试通过的版本