Skip to content

codeReaper2001/my-rpc-framework

Repository files navigation

测试接口代码

Controller:

image-20220722172738077

服务调用接口:

image-20220722173108722

接口参数:

image-20220722173456243

服务器端的实现类:

image-20220722173639626

单机测试结果

汇总报告

image-20220722173524844

吞吐量约 7300/s

聚合报告

image-20220722173701093

  • 90%:8ms
  • 95%:9ms
  • 99%:15ms

两台机器测试结果

辅助机器:一个机器使用JMeter发送请求

服务机器:

  • 机器①:启动rpc服务提供端(RPC Server)和rpc服务消费端("/index"接口)
  • 机器②:只启动rpc服务提供端(RPC Server)

测试结果:

image-20220810000226627

吞吐量可达到 10000/s

About

An rpc framework based on Netty and Zookeeper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages