Federated Uplink looses connection when transferirng large messages on latent network

20 views
Skip to first unread message

Todd Flora

unread,
Aug 4, 2018, 1:34:28 PM8/4/18
to rabbitmq-users
Hello everyone, 

I have an issue with Federation connection on networks with high latency or packet loss when there are many and large messages to transfer. It seems that the heartbeat times out and causes the federation connection to reset while it is trying to transfer a large message. If I turn off timeout the messages transfer successfully, but as this is not recommended I need to know how to change federation settings to keep heartbeat enabled without the connection being reset periodically. Also I noticed that Federation tries to transfer 200 messages at once. Is there a way to decrease this value so it tries to transfer less messages between heartbeats? Also I have set the heartbeat up to 120 seconds but it still does not change the behavior. Any higher than this and the connection still times out after about 90 seconds. Thanks in advance for any help on this.

BTW this happens both in RMQ 3.6.5 (currently deployed with our latest release) and 3.7.4 slated to be released with the next version of our product.

Michael Klishin

unread,
Aug 6, 2018, 2:48:19 AM8/6/18
to rabbitm...@googlegroups.com
We cannot suggest much without additional information:

 * What federation type (queue or exchange) is used
 * Server logs from both ends
 * Message size
 * Link throughput

Heartbeat for federation and shovel connections is specified in the URI [1]. Depending on the federation type used direct
connections can be used by the plugin as well. They use a similar mechanism [2] to heartbeats which is per-node, not per-connection.

On an unrelated note, 3.6.5 is 11 releases behind even in the now EOL'ed 3.6.x series. Please upgrade [3][4].


--
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.



--
MK

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