1 Star 0 Fork 62

yefeng001 / forest

forked from 郑大侠 / forest 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

#Forest 分布式 netty zookeeper spring

forest是一个基于netty和zookeeper实现的分布式服务框架

Alt text

##模块 ###forest-common

基础依赖包,实现了name服务,高可用proxy,高可用client,server等

###forest-bus

消息服务总线,透传消息,根据策略dispatcher消息

###forest-leaf

业务进程实现示例 更多详细实现请参照lamp

##依赖 ###zookeeper

依赖zookeeper实现进程名称服务and服务发现

###spring context

业务框架使用spring作为容器,简化开发

###netty

依赖netty作为通讯框架

###owner

依赖owner作配置管理

##protocol

##功能 ###服务发现

基于zookeeper实现的服务发现

###负载均衡策略

  • 默认 default
  • 轮叫调度Round Robin
  • 加权轮叫Weighted Round Robin
  • 哈希调度Hash

##使用示例

  • 1.启动zookeeper
  • 2.启动forest-bus服务 main (com.dempe.forest.bus.ForestBusServer)
  • 3.启动forest-leaf业务进程 main(com.dempe.forest.leaf.LeafServer)
  • 4.启动客户端模拟器 main(com.dempe.forest.leaf.simulator.LeafSimulator)

##TODO

目前仅实现核心功能,更多细节待年后完善

空文件

简介

基于netty和zookeeper实现的分布式服务框架 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/yefenglaixi/forest.git
git@gitee.com:yefenglaixi/forest.git
yefenglaixi
forest
forest
master

搜索帮助