Skip to content

Ouyangan/NettyRpcDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

使用Netty作为底层通信框架 ,写的一个简单的RPCdemo练习 ,参考自开源中国-黄勇

开源组件

  • netty
  • spring-context
  • protostuff
  • zookeeper
  • cglib
  • jackson

运行

  • 安装运行zookeeper,配置rpc.properties中的端口参数
  • 启动运行ServerTest
  • 启动运行ClientTest

耗时统计示例

StopWatch '测试结果': running time (millis) = 1018
-----------------------------------------
ms     %     Task name
-----------------------------------------
00384  038%  第1次
00079  008%  第2次
00071  007%  第3次
00071  007%  第4次
00071  007%  第5次
00069  007%  第6次
00105  010%  第7次
00067  007%  第8次
00051  005%  第9次
00050  005%  第10次

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages