An open API service indexing awesome lists of open source software.

https://github.com/duoan/mini-rpc

Spring + Netty + Protostuff + ZooKeeper 实现了一个轻量级 RPC 框架,使用 Spring 提供依赖注入与参数配置,使用 Netty 实现 NIO 方式的数据传输,使用 Protostuff 实现对象序列化,使用 ZooKeeper 实现服务注册与发现。使用该框架,可将服务部署到分布式环境中的任意节点上,客户端通过远程接口来调用服务端的具体实现,让服务端与客户端的开发完全分离,为实现大规模分布式应用提供了基础支持
https://github.com/duoan/mini-rpc

lightbox netty protobuffer remote-procedure-calls rpc-framework spring zookeeper

Last synced: about 10 hours ago
JSON representation

Spring + Netty + Protostuff + ZooKeeper 实现了一个轻量级 RPC 框架,使用 Spring 提供依赖注入与参数配置,使用 Netty 实现 NIO 方式的数据传输,使用 Protostuff 实现对象序列化,使用 ZooKeeper 实现服务注册与发现。使用该框架,可将服务部署到分布式环境中的任意节点上,客户端通过远程接口来调用服务端的具体实现,让服务端与客户端的开发完全分离,为实现大规模分布式应用提供了基础支持

Awesome Lists containing this project

README

          

A Minimal RPC Implement with Java.
===========
![https://travis-ci.org/classtag/MiniRpc](https://img.shields.io/travis/classtag/MiniRpc.svg)

Spring + Netty + Protostuff + ZooKeeper 实现了一个轻量级 RPC 框架,使用 Spring 提供依赖注入与参数配置,使用 Netty 实现 NIO 方式的数据传输,使用 Protostuff 实现对象序列化,使用 ZooKeeper 实现服务注册与发现。使用该框架,可将服务部署到分布式环境中的任意节点上,客户端通过远程接口来调用服务端的具体实现,让服务端与客户端的开发完全分离,为实现大规模分布式应用提供了基础支持。

## 如何测试

0. 环境准备:maven, intellij-idea
1. 下载安装并启动zookeeper https://www.apache.org/dyn/closer.cgi/zookeeper/
2. 启动服务端 `me.anduo.rpc.server.core.RpcBootstrap`
3. 启动测试 `me.anduo.rpc.example.HelloServiceTest`

## TODO LIST
- [ ] add metrics.
- [ ] support client pool