<div>a few thoughts:</div><div> </div><div>declare "monitor" queue:</div><div>* register task (must be done via RPC) --> dump to database </div><div>* report on status at each stage: started, pending, completed. --> dump to database</div>
<div> </div><div>Why RPC? Because rabbit guarantees delivery, but not the order in which messages are delievered in. RPC at the start ensures that later monitoring has a context. It just seems a little tidier.</div><div>
</div><div>Let me know if this helps.</div><div> </div><div>btw: I haven't had a chance to look at Celery... so don't know on that.</div><div> </div><div>-Steven</div><div> </div><div> </div><div><br><br> </div><div class="gmail_quote">
On 21 July 2011 06:04, Siddharth Saha <span dir="ltr"><<a href="mailto:sidchilling@gmail.com">sidchilling@gmail.com</a>></span> wrote:<br><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
Hi,<div><br></div><div>I want to write a script which will keep track of what tasks have been submitted and processed and whether the status of the job was Success / Failure and how much time did each task take to finish. I want to dump these info in a database so that I can pull out reports now and then about the performance.</div>
<div><br></div><div>Please give me some cues on how I can proceed on this.</div><div><br></div><div>I am using RabbitMQ with Celery in my Python project. Looking forward for some help.<br clear="all"><br>-- <br>-Siddharth Saha<br>
<br><br>
</div>
<br>_______________________________________________<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>
<br></blockquote></div><br>