[zeromq-dev] TCP performance test and multiple Receiver question.
lovec pc
pclovec at gmail.com
Tue Aug 25 22:18:17 CEST 2009
hi, all
Current i do zeromq performance compare between difference protocol
,such as ZMQ and TCP,PGM.
now i can running PGM and ZMQ perf test to get result . but i try to
running /perf/tests/tcp folder 's local_thr command .seems doesn't
work. i looking the documentation there's no word write need to
running zmq_server before.
i using two machine to test TCP and refer to this url
http://www.zeromq.org/code:tests-tcp-v03
so i didn't running the zmq_server's service. only start to running
local_thr command
first machine running receiver
./local_thr first's_IP 5672 6 500000
there's occur exception .
----------------------------
root at x-desktop:/home/x1/trunk/perf/tests/tcp# ./local_thr
172.10.10.1:5555 1 10000
message size: 1 [B]
message count: 10000
lt-local_thr: tcp_socket.cpp:198:
zmq::tcp_socket_t::tcp_socket_t(zmq::fd_t, bool): Assertion `s !=
retired_fd' failed.
Aborted
root at x-desktop:/home/x/trunk/perf/tests/t
----------------
and also found out this url .but i checked my build folder,there's no
zmq_tcp folder. so i think it's old version for perf test code.
http://www.zeromq.org/code:tests-zmq-vs-tcp
---------------------------------------------------------------------------------------------
and i have another question for ZMQ data flow
1. if i have one sender to send message to one queue . seems 2
Exchange bind 1 Queue. if there's have only receiver also this
receiver is slow . then
1).sender don't know the slow receiver .it still send the
message to receiver Queue, then Receiver client will be crush
,because the receiver mem will be increase , it's true?
2). if slow receiver is crush ,the sender still running ? or just stop ?
3). if i have two receiver , one receiver is slow ,one receiver
is fast,doesn't slow receiver will force fast receiver.
thanks
More information about the zeromq-dev
mailing list