|
|
|
|
|
by tylertreat
3939 days ago
|
|
A latency/throughput benchmark comparing the two is effectively comparing the latency/throughput of a socket from A to B. The same benchmark for NATS would be a socket from A to NATS and NATS to B. Obviously the latency of going over the wire once is going to be lower than going over the wire twice. A proper comparison would need to include the forwarding device for ZeroMQ. |
|
> Obviously the latency of going over the wire once is going to be lower than going over the wire twice.
Latencywise, and all things being optimal, yes. But not all things are optimal.
Throughputwise, and all things being optimal, there shouldn't be any difference. But there is a huge one on both receive and transmit.
NATS and ZeroMQ are obviously not equivalent, but I maintain that this is an apples-to-apples proper and useful comparison, even without the forwarding device.