--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
So the top process is the single queue. That's expected on a benchmark that uses a single publisher and consumer.
Hi MK,thanks for your reply.The point is no matter how many exchanges and queues I'll use, I want to know the capacity of one exchange with one queue,so I could figure out how many exchanges and queues I'll need to satisfy my requirement.I have tested on the same 2VCPU node, one produce/one consumer, the top speed should be 50K(message size is 1024).even I use one federation link(or more) to pull messages from just one upstream federation queue, i hope the speed could reach 50K,currently the bottleneck is the consumer which inside downstream federation pulling messages from upstream federation queue.so the question here is, why the speed in federation consumer is so slow?from code, handle_info(#'basic.deliver') just change header and forward message to local queue. on theory,two consumer should enough to reachthe 50K limit.Let me know if you need any other info.downstream, no upstream federation link
[root@taozou-rabbitmq-4 ~]# rabbitmqctl federation_status
Listing federation links of node rabbit@taozou-rabbitmq-4...
[#{error => <<>>,exchange => <<"animal">>,id => <<"f9054ffe">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5728.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a7">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"8c7df9a4">>,
last_changed => <<"2018-08-10 04:26:27">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5725.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"my4">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.75.217.27">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"3d9759ad">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5705.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a2">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"9915c548">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5722.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a4">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"1e1324c1">>,
last_changed => <<"2018-08-10 04:26:27">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5687.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"my2">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.75.217.27">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"90adfcfe">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5697.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a8">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"10143b12">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5710.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a3">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"6e1b943c">>,
last_changed => <<"2018-08-10 04:26:27">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5681.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"my3">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.75.217.27">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"2a2a65b1">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5702.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a1">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"adc3c6e8">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5694.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a6">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"846eacce">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5684.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a9">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"86329bae">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5719.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a5">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"5c6b411b">>,
last_changed => <<"2018-08-10 04:26:27">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5714.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"my6">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.75.217.27">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"68131859">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5678.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a10">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"fc06dad9">>,
last_changed => <<"2018-08-10 04:26:27">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5691.0>">>,
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
Hi MK,thanks for your reply.The point is no matter how many exchanges and queues I'll use, I want to know the capacity of one exchange with one queue,so I could figure out how many exchanges and queues I'll need to satisfy my requirement.I have tested on the same 2VCPU node, one produce/one consumer, the top speed should be 50K(message size is 1024).even I use one federation link(or more) to pull messages from just one upstream federation queue, i hope the speed could reach 50K,currently the bottleneck is the consumer which inside downstream federation pulling messages from upstream federation queue.so the question here is, why the speed in federation consumer is so slow?from code, handle_info(#'basic.deliver') just change header and forward message to local queue. on theory,two consumer should enough to reachthe 50K limit.Let me know if you need any other info.downstream, no upstream federation link
[root@taozou-rabbitmq-4 ~]# rabbitmqctl federation_status
Listing federation links of node rabbit@taozou-rabbitmq-4...
[#{error => <<>>,exchange => <<"animal">>,id => <<"f9054ffe">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5728.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a7">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"8c7df9a4">>,
last_changed => <<"2018-08-10 04:26:27">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5725.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"my4">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.75.217.27">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"3d9759ad">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5705.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a2">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"9915c548">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5722.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a4">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"1e1324c1">>,
last_changed => <<"2018-08-10 04:26:27">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5687.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"my2">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.75.217.27">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"90adfcfe">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5697.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a8">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"10143b12">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5710.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a3">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"6e1b943c">>,
last_changed => <<"2018-08-10 04:26:27">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5681.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"my3">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.75.217.27">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"2a2a65b1">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5702.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a1">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"adc3c6e8">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5694.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a6">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"846eacce">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5684.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a9">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"86329bae">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5719.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a5">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"5c6b411b">>,
last_changed => <<"2018-08-10 04:26:27">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5714.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"my6">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.75.217.27">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"68131859">>,
last_changed => <<"2018-08-10 04:26:24">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5678.0>">>,
queue => <<>>,status => running,type => exchange,upstream => <<"a10">>,
upstream_exchange => <<"animal">>,upstream_queue => <<>>,
uri => <<"amqp://10.76.6.215">>,vhost => <<"/">>},
#{error => <<>>,exchange => <<"animal">>,id => <<"fc06dad9">>,
last_changed => <<"2018-08-10 04:26:27">>,
local_connection => <<"<rabbit@taozou-rabbitmq-4.3.5691.0>">>,
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.