You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to speed test nng with zmq and redis, but found that nng has a problem of message loss under bus protocol, even setting send_buffer_size and recv_buffer_size does not improve.
This problem does not exist in pubsub, and also not exist in zmq and redis (because they only have pubsub). I'm curious what is causing this and how to fix it.
Here is the log and code:
Log
Subs: 1 Msgs: 100
Count: 99 Time: 0.02 s
Subs: 2 Msgs: 100
Count: 98 Time: 0.01 s
Count: 95 Time: 0.01 s
Subs: 4 Msgs: 100
Count: 100 Time: 0.02 s
Count: 100 Time: 0.02 s
Count: 100 Time: 0.02 s
Count: 100 Time: 0.02 s
Subs: 6 Msgs: 100
Count: 100 Time: 0.02 s
Count: 100 Time: 0.02 s
Count: 100 Time: 0.02 s
Count: 100 Time: 0.02 s
Count: 100 Time: 0.02 s
Count: 0 Time: 0.00 s
Subs: 1 Msgs: 1000
Count: 551 Time: 0.04 s
Subs: 2 Msgs: 1000
Count: 682 Time: 0.05 s
Count: 687 Time: 0.05 s
Subs: 4 Msgs: 1000
Count: 915 Time: 0.09 s
Count: 911 Time: 0.09 s
Count: 900 Time: 0.09 s
Count: 0 Time: 0.00 s
I'm trying to speed test nng with zmq and redis, but found that nng has a problem of message loss under bus protocol, even setting send_buffer_size and recv_buffer_size does not improve.
This problem does not exist in pubsub, and also not exist in zmq and redis (because they only have pubsub). I'm curious what is causing this and how to fix it.
Here is the log and code:
Log
Code:
The text was updated successfully, but these errors were encountered: