[rabbitmq-discuss] Channel Cost
Dmitriy Samovskiy
dmitriy.samovskiy at cohesiveft.com
Tue Jan 27 17:17:12 GMT 2009
Ben Hyde wrote:
> On Jan 27, 2009, at 10:24 AM, Dmitriy Samovskiy wrote:
>> Could this suggestion by Matthias help you (second to last paragraph):
>> http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2008-November/002539.html
>
> interesting: "issue *any* synchronous command. The response
> constitutes a guarantee that all messages published prior to the
> request will have been processed by the channel process on the server."
>
> That seems useful. If you had the heart beat enabled would that tell
> you something similar? Again not interoperable.
>
> Do you have a synch. cmd you'd recommend.
I thought a passive queue or exchange declaration of a known entity might be sufficiently
inexpensive:
ch.exchange_declare('amq.topic', type='topic', passive=True)
DEBUG:amqplib:> (10, 10): Connection.start
DEBUG:amqplib:Start from server, version: 8.0, properties: {u'platform': 'Erlang/OTP',
u'product': 'RabbitMQ', u'version': '1.5.1', u'copyright': 'Copyright (C) 2007-2009 LShift
Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.', u'information':
'Licensed under the MPL. See http://www.rabbitmq.com/'}, mechanisms: ['PLAIN',
'AMQPLAIN'], locales: ['en_US']
DEBUG:amqplib:< (10, 11): Connection.start_ok
DEBUG:amqplib:> (10, 30): Connection.tune
DEBUG:amqplib:< (10, 31): Connection.tune_ok
DEBUG:amqplib:< (10, 40): Connection.open
DEBUG:amqplib:> (10, 41): Connection.open_ok
DEBUG:amqplib:Open OK! known_hosts [myvm:5672]
DEBUG:amqplib:using channel_id: 1
DEBUG:amqplib:< (20, 10): Channel.open
DEBUG:amqplib:> (20, 11): Channel.open_ok
DEBUG:amqplib:Channel open
DEBUG:amqplib:< (60, 40): Channel.basic_publish
DEBUG:amqplib:< (40, 10): Channel.exchange_declare
DEBUG:amqplib:> (40, 11): Channel.exchange_declare_ok
More information about the rabbitmq-discuss
mailing list