NettyRPC
NettyRPC copied to clipboard
NettyRPC is high performance java rpc server base on Netty,using kryo,hessian,protostuff support message serialization.
   是否应该先设置返回值,再唤醒等待好些?
dubbo framework also use netty implementing the rpc communication,but it is too large
https://github.com/tang-jie/NettyRPC/blob/276119b5a25550af6b9f6967f042be11bf57e776/src/main/java/com/newlandframework/rpc/spring/NettyRpcReference.java#L71 一个ip地址提供多个服务时,会不会重复发起连接
public class MethodProxyAdvisor implements MethodInterceptor { ... boolean existFilter = ServiceFilterBinder.class.isAssignableFrom(serviceBean.getClass()); ... } 无论是否配置过滤器,都会返回true.
另外可以提供一个q群学习交流哈
请问,这个可以作手游服务端网络层框架嘛,或者需要做哪些变化才能实现
https://github.com/tang-jie/NettyRPC/blob/334d3edb1635dbc4c82c6f4f35aceb9fa15252fa/src/main/java/com/newlandframework/rpc/core/ReflectionUtils.java#L294
像业务相关的包不应该出现在同一个maven模块中,如果第三方使用的话就引入了无关的代码; 建议放到另外一个demo maven模块中,该模块依赖rpc核心模块
【补充.gitigore文件】