<div dir="ltr"><p class="MsoNormal" style="text-align:left;direction:ltr">I
have a RabbitMQ on Amazon load balancing between N processors that do heavy
image processing algorithms (running 1-8 min on an 8 core computer) . I'm using
RabbitMQ fair dispatch and message acknowledgement to make sure the Algorithm requests
are distributed fairly amongst the processors. </p>
<p class="MsoNormal" style="text-align:left;direction:ltr">However
once in a while I get a message that causes the processor to crash. RabbitMQ of
course (since no ack received and connection terminated) makes sure the message
goes to the next processor which also crashes because processors share the same
code. <span> </span>Soon all the processors are down.
They go up again, but the faulty message stays in the system until I get the
alarms and purges the RabbitMQ queue. </p>
<p class="MsoNormal" style="text-align:left;direction:ltr">The
processors have a 10 years old legacy code written by multiple mathematicians
and is almost impossible to protect against all faulty data. </p>
<p class="MsoNormal" style="text-align:left;direction:ltr"> </p>
<p class="MsoNormal" style="text-align:left;direction:ltr">Is
there any mechanism in RabbitMQ that can still give me load balancing but kick
out a message that cannot be processed by consumers? </p><p class="MsoNormal" style="text-align:left;direction:ltr"><br></p><p class="MsoNormal" style="text-align:left;direction:ltr">Thanks</p><p class="MsoNormal" style="text-align:left;direction:ltr">
Oren</p></div>