Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This doubles the publish rate using the repro steps from #5312 and somewhat reduces the memory usage. ``` rabbitmqctl -n rabbit-0 set_policy --apply-to queues ha "cmq.*" '{"ha-mode":"exactly", "ha-params": 3, "ha-sync-mode": "automatic"}' $ perf-test -ad false -f persistent -qa x-dead-letter-exchange=,x-dead-letter-routing-key=cmq-dlq,x-queue-master-locator=client-local,x-queue-version=1 -x 4 -y 0 -s 1000 -C 250000 -u cmq-input-v1 BEFORE: id: test-164723-973, sending rate avg: 6156 msg/s AFTER: id: test-165708-401, sending rate avg: 11572 msg/s $ perf-test -ad false -f persistent -qa x-dead-letter-exchange=,x-dead-letter-routing-key=cmq-dlq,x-queue-master-locator=client-local,x-queue-version=1,x-queue-mode=lazy -x 4 -y 0 -s 1000 -C 250000 -u cmq-input-v1lazy BEFORE: id: test-165020-228, sending rate avg: 6239 msg/s AFTER: id: test-165848-489, sending rate avg: 11758 msg/s $ perf-test -ad false -f persistent -qa x-dead-letter-exchange=,x-dead-letter-routing-key=cmq-dlq,x-queue-master-locator=client-local,x-queue-version=2 -x 4 -y 0 -s 1000 -C 250000 -u cmq-input-v2 BEFORE: id: test-165314-597, sending rate avg: 6818 msg/s AFTER: id: test-170027-308, sending rate avg: 13891 msg/s ```
- Loading branch information