<div dir="ltr"><br><div>Yes, I agree that a local queue might not be the answer (and we could go in a recursive argument;-).</div><div><br></div><div>But I guess that the client/producer should have a way to store events in case the message broker goes down. Using a local database might be an option (although that's just another moving part and that could be considered like a local queue system as well).</div>
<div><br></div><div>I am just curious about what people do in production. </div><div><br></div><div>I need to send user generated files to a conversion worker pool. If the message broker goes down for any reason, the clients/producers need to continue dealing with the incoming traffic and locally store the files until the broker goes back up. In other words, it seems like the client needs to keep a record of the ongoing transactions/conversions. Is that correct?</div>
<div><br></div><div>Thierry</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jul 22, 2013 at 1:14 PM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thierry,<div class="im"><br>
<br>
On 20/07/13 00:12, Thierry Thelliez wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Interesting discussion. I am new to RabbitMQ and I am trying to<br>
understand the coding and architecture requirements on the Producer side.<br>
<br>
What happens if the Producer cannot push to a queue? Does that mean<br>
that the Producer system should plan for its own local queue until the<br>
broker is back? What do you do in production when you do not want to<br>
loose these messages?<br>
</blockquote>
<br></div>
That depends on the app and what failure scenarios you are most concerned about.<br>
<br>
Local queues add another moving part that itself can fail.<br>
<br>
<br>
Note that the thread discussed blocked producers. No messages are lost in that situation; message loss would only occur if client or server are terminated/crash or there is a prolonged network disruption.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Matthias.<br>
</font></span></blockquote></div><br></div>