项目作者: jakecoffman

项目描述 :
reliable UDP messages for Go
高级语言: Go
项目地址: git://github.com/jakecoffman/rely.git
创建时间: 2018-02-03T04:55:35Z
项目社区:https://github.com/jakecoffman/rely

开源协议:BSD 3-Clause "New" or "Revised" License

下载


rely

port of https://github.com/networkprotocol/reliable to Go

GoDoc Build Status

performance

Tests below done on MBP 2.6GHz 6-Core i7 using Go 1.15.

rely without pooling

  1. $ go build -tags=test && time ./soak -iterations=8100
  2. ./soak -iterations=8100 0.26s user 0.02s system 99% cpu 0.280 total

rely with pooling

  1. $ go build -tags=test && time ./soak -iterations=8100 -pool=true
  2. ./soak -iterations=8100 -pool=true 0.23s user 0.01s system 90% cpu 0.271 total

reliable.io

  1. $ time ./bin/soak 8100
  2. initializing
  3. shutdown
  4. ./bin/soak 8100 0.70s user 0.00s system 63% cpu 1.124 total