[rabbitmq-discuss] Extremely slow responses
mrkafk at gmail.com
Mon Jan 24 20:17:20 GMT 2011
-----BEGIN PGP SIGNED MESSAGE-----
I'm getting weird problem with very slow transfers of messages to reply
The setup: cluster of 3 nodes, with fanout-type exchange, with 3 queues
bound, one per each node.
This part works without problems (tested separately) - messages sent
from client get delivered quickly to each queue and are then read by
servers on each node.
However, when I add callback queue (with exclusive=True) for responses
from each server, I'm getting responses back very slowly - like after a
(the callback queue gets created by client with
Basically, I combined solutions from tutorial on fanout
(http://www.rabbitmq.com/tutorial-three-python.html) with code from
tutorial on RPC (http://www.rabbitmq.com/tutorial-six-python.html) and
used it in a cluster.
1. Might it be that temporary queues get propagated across cluster very
2. Or is it a problem that I do not bind the reply temp queue to any
exchange? (ch.basic_publish(exchange='', routing_key=props.reply_to,
body = result))
I'm using pika for both server and client.
Rationale for the whole thing: I need to replicate the same JSON-RPC
call across several nodes. At best, I would like to be able to read all
the produced responses back.
Premature optimization is the root of all fun.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the rabbitmq-discuss