Skip to content

MiaoHN/tirpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TiRPC - Tiny RPC Framework

tirpc GitHub License

参考 Gooddbird/tinyrpc 实现的轻量级多线程多协程 RPC 框架,有关核心代码的原理请参阅原作者文章

性能测试

测试环境

  • CPU: Intel Core i5-9300H @ 8x 2.4GHz
  • RAM: 15934MiB
  • OS: Ubuntu 20.04 jammy(on the Windows Subsystem for Linux)

测试结果

wrk -c 1000 -t 8 -d 30 --latency 'http://127.0.0.1:19999/qps?id=1'
IO thread 1000 2000 5000 10000
1 8529.86 8710.45 8562.38 8809.32
4 38781.26 36080.29 37408.68 36920.82
16 72882.96 63116.69 64311.55 75873.56

参考资料

About

🔥 Tiny RPC framework by CPP.

Resources

License

Stars

Watchers

Forks

Contributors