HA - ha-sync-batch-size

225 views
Skip to first unread message

philip

unread,
Sep 23, 2019, 1:00:37 PM9/23/19
to rabbitmq-users
HI,

Since we enabled HA on our cluster, we have been seeing cpu spike (for a bout 5 minutes and then back to normal) periodically and the timing seems to be matched with the logs showed during  " in vhost '/': Synchronising: batch size: 4096". Just wanted to know if adjusting ha-sync-batch-size is the right approach?

Rabbitmq 3.7.17
Erlang 21.3.8.6

Thanks.

Michael Klishin

unread,
Sep 23, 2019, 7:47:14 PM9/23/19
to rabbitmq-users
Batch synchronization can be thought of as "batch publishing" between queue replicas.

Reducing batch size would reduce inter-node data transfer and reduce peak queue master load duration.
It almost certainly would not reduce the load.

--
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-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/ed998d0e-cfa7-49ac-8023-6a49fe0116f1%40googlegroups.com.


--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages