It's a simple Java RPC framework based on Spring, Netty and Consul.
Some articles in Chinese:
- 如何写一个RPC框架(一):关注点与我的实现
- 如何写一个RPC框架(二):通过Bean容器和动态代理简化服务调用代码
- 如何写一个RPC框架(三):服务注册与服务发现
- 如何写一个RPC框架(四):网络通信之客户端篇
- 如何写一个RPC框架(五):服务器端实现
- 如何写一个RPC框架(六):负载均衡
If the links above don't work, see the docs folder: docs
Please refer to:
- hrpc-sample-client
- hrpc-sample-server
- hrpc-sample-spi
- https://github.com/spring-cloud/spring-cloud-netflix/tree/master/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign
- https://github.com/luxiaoxun/NettyRpc
- https://my.oschina.net/huangyong/blog/361751