Skip to content

Instantly share code, notes, and snippets.

@derekcollison
Created December 3, 2015 18:03
Show Gist options
  • Save derekcollison/4616831fc476e5f2117e to your computer and use it in GitHub Desktop.
Save derekcollison/4616831fc476e5f2117e to your computer and use it in GitHub Desktop.
NATS Performance with 16 publishers
~/Development/go/src/github.com/nats-io/nats/examples> ./nats-bench -np 16 -n 100000 foo ok
Starting benchmark
msgs=16X100000, pubs=16, subs=0
################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
NATS throughput is 14403770 msgs/sec
@swdee
Copy link

swdee commented Apr 30, 2018

Not really, the first output uses default message size of 128 bytes and the later your using message size 2 bytes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment