-
Notifications
You must be signed in to change notification settings - Fork 0
Description
motivated by the failure of recent dastard to work with autotune, I looked at the tests here to see if I could identify any red flags. I believe we're currently using the pebbe zmq, so I focused on that test.
This sets the sender high water mark to 1.1 million, when you will send exactly 1 million packets only. That differs from real usage in that we can never have the hwm be above our total number of packets.
golang-zmq-comparison/pebbe_test.go
Line 68 in f5f61c5
| publisher.SetSndhwm(1100000) |
Here we see the payload is always "Rhubarb", much smaller than the typical tdm payload for autotune of 10k samples
golang-zmq-comparison/pebbe_test.go
Line 87 in f5f61c5
| publisher.Send("Rhubarb", 0) |
Further, you start from a synchronized point... eg no messages in the queue, get all subscribers connected, then send all messages. In real usage we start with the publisher having already sent enough messages to fill the hwm many times.
Finally, the sender and reciever are using the same package, I suspect the packages is mostly tested against itself. Perhaps there is variation in behavior from package to package that causes issues?
I don't have any proposed actions currently, just wanted to document some differences.