Last active
March 23, 2020 13:09
-
-
Save ripienaar/d70030c9bca82b1e4f64e5f99e69f303 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ampere binaries @ https://send.firefox.com/download/727c5c76e6b13ea4/#LxRAEKz_UBMQsJ1biy08fw | |
nats-server -js | |
nats str add ORDERS --config ORDERS.json | |
nats bench --msgs 1000000 --size 2000 --pub 10 ORDERS.bench # try various sizes from 128 upward |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ORDERS", | |
"subjects": [ | |
"ORDERS.*" | |
], | |
"retention": "limits", | |
"max_consumers": -1, | |
"max_msgs": -1, | |
"max_bytes": -1, | |
"max_age": 31536000000000000, | |
"max_msg_size": -1, | |
"storage": "file", | |
"num_replicas": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now you will probably get best performance with pubs of 1 or 2, that is the contention issue I was mentioning that I will go back and address soon.