Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
N
notes
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • felix
  • notes
  • Wiki
  • 压测 grpc

压测 grpc

Last edited by felix Nov 06, 2019
Page history

ghz

https://github.com/bojand/ghz 直接下载相关平台的binhttps://github.com/bojand/ghz/releases

./ghz -insecure \
  --proto /Users/felix/Downloads/ghz_0.42.0_Darwin_x86_64/transferNew.proto \
  --call ugen.iot.Transfer.dataTransfer \
  -d '{"data":[],"dataType":"PUSH","mode":"dev","action":"push","cType":"DEV","needAuth":true}' \
  -c 10 \
  -n 100 \
  192.168.2.230:3010

--proto proto文件路径 --call proto重的函数 -d 要发送的数据,不支持bytes -c 多少个client? -n 总共多少次 最后的ip是目标服务器

  Clone repository
  • Docker mysql
  • Grpc auth
  • Home
  • Iot homekit接入
  • 压测 grpc
  • 机器学习 入门文章
  • 蓝牙 ble
  • 蓝牙 抓包
More Pages
×

New Wiki Page

Tip: You can specify the full path for the new file. We will automatically create any missing directories.