SSMP 服務器加載測試工具:ssmperf

jopen 9年前發布 | 7K 次閱讀 ssmperf 測試工具

ssmperf 是 SSMP 協議的服務器基礎加載測試工具。

使用

./ssmperf <address> [flags]
  -cacert=""        path to CA cert
  -cert=""          path to client cert
  -conn=100         number of client connections
  -count=10000      number of messages sent per connection
  -cpuprofile=""    write cpu profile to file
  -insecure=false   disable TLS
  -key=""           path to client key
  -memprofile=""    write memory profile to this file
  -secret=""        shared secret to use for auth, default to open login if empty
  -size=100         payload size in bytes [16, 980]
  -sub=10           number of subscribers per topic
  -type="UCAST"     message type (UCAST, MCAST, or BCAST)
  -writebuf=1024    write buffer size in bytes

項目主頁:http://www.baiduhome.net/lib/view/home/1442045408711

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!