diff options
| author | Alexey Lebedeff <alebedev@mirantis.com> | 2016-03-09 18:09:04 +0300 |
|---|---|---|
| committer | Alexey Lebedeff <alebedev@mirantis.com> | 2016-05-18 15:18:48 +0300 |
| commit | d963bc8eff23802fb9f7ed9b0fa0b2f2040d9c1e (patch) | |
| tree | 7d95583a2a086e4c1fb79b1fe299547970098876 /scripts/rabbitmq-env.bat | |
| parent | 79e216827b308902039fbcd60bad017148580a7a (diff) | |
| download | rabbitmq-server-git-d963bc8eff23802fb9f7ed9b0fa0b2f2040d9c1e.tar.gz | |
Avoid RPC roundtrips in list commands
Current implementation of various `list_XXX` commands require cross-node
roundtrip for every processed item - because `rabbitmqctl` target node
is responsible for gathering global list of all items of
interest (channels etc.) and then processing them one by one.
For example, listing 10000 channels evenly distributed across 3 nodes
where network has 1ms delay takes more than 10 seconds on my
machine. And with the proposed change listing will take almost the same
time as it'll take to gather this info locally. E.g. in the case above
listing now takes 0.7 second on the same machine with same 1ms delay.
It works by invoking emitting_map on every node, where it should send
info about only local items to aggregator, in an async fashion - as no
reply from aggregator is needed.
Diffstat (limited to 'scripts/rabbitmq-env.bat')
0 files changed, 0 insertions, 0 deletions
