Thank you for the response.��� Great one for a FAQ.� The confirmation of batching and compression not being in Shovel is something we until now we couldn&#39;t confirm.� (Therefore it&#39;s usefulness to us just dropped a bit.)<br>
<br>The value of being able to ACK back fast, and let a client continue on, while giving some comfort going forward that the message will actually be consumed somewhere after some length of time.� For example, if you can stand 1 minute of latency from publish to consume, but you&#39;re client needs an ACK, it will need to store potentially large amounts of data (if your link goes down) until it gets the ACK (link comes back up and message consumed.)� With shovel, it can get a quicker ACK.<br>
<br>Thanks<br>Gene<br><br><div class="gmail_quote">On Thu, Apr 28, 2011 at 5:22 AM, Matthew Sackman <span dir="ltr">&lt;<a href="mailto:matthew@rabbitmq.com">matthew@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<div><div></div><div class="h5"><br>
On Sun, Apr 24, 2011 at 02:13:13PM -0700, ristretto.rb wrote:<br>
&gt; Suppose there are two servers connected across a WAN (read internet),<br>
&gt; sending transient messages, with all else held constant what is the<br>
&gt; faster method in terms of messages / sec: �Two brokers and a Shovel,<br>
&gt; one broker with a remote publisher, or one broker with a remote<br>
&gt; consumer. �(The last two cases might be really just one case.)<br>
&gt;<br>
&gt; msg -&gt; X -&gt; Q -&gt; Shovel -&gt; X -&gt; Q -&gt; Consume<br>
&gt; vs<br>
&gt; msg ---------------------------&gt; X -&gt; Q -&gt; Consume<br>
&gt;<br>
&gt; What if durability is required? �Does this change the decision?<br>
<br>
</div></div>Regardless of whether you&#39;re using the shovel or not, over the WAN link<br>
will flow AMQP msgs over TCP/IP. There is no compression or any batching<br>
used by shovel, so your throughput and latency won&#39;t be different in any<br>
of the combinations you suggest.<br>
<br>
However, you might wish for, eg the publisher to very quickly be able to<br>
publish a msg and get a confirmation back that the msg has been<br>
published and accepted by the broker. If the latency of this operation<br>
is important then it makes sense to have the broker near the publisher.<br>
<br>
The next thing to consider is whether it&#39;s actually going to make any<br>
difference to the consumer whether or not it&#39;s got a broker very near<br>
it. For example, is it going to be doing any synchronous operations<br>
regularly. If not (i.e. it&#39;s just receiving msgs and acking them), then<br>
there probably isn&#39;t much difference whether it&#39;s connected to a local<br>
broker or a remote one.<br>
<font color="#888888"><br>
Matthew<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br>