Skip to content

Instantly share code, notes, and snippets.

@Stoakes
Created December 3, 2018 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stoakes/042b35c0f2a5f019556199449e6944b3 to your computer and use it in GitHub Desktop.
Save Stoakes/042b35c0f2a5f019556199449e6944b3 to your computer and use it in GitHub Desktop.
Nats benchmark devqa194
root@commongateway-5f585dcd8f-7r6wn:/home/nginx/go/github.com/nats-io/go-nats/examples/nats-bench# go run main.go -s nats://morbid-panda-nats foo
Starting benchmark [msgs=100000, msgsize=128, pubs=1, subs=0]
Pub stats: 1,228,748 msgs/sec ~ 149.99 MB/sec
root@commongateway-5f585dcd8f-7r6wn:/home/nginx/go/github.com/nats-io/go-nats/examples/nats-bench# go run main.go -s nats://morbid-panda-nats -ms 10000 foo
Starting benchmark [msgs=100000, msgsize=10000, pubs=1, subs=0]
Pub stats: 13,207 msgs/sec ~ 125.96 MB/sec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment