title: Best way to query Celery using AJAX from front-end to know if a created task is completed or not?
body: <p>I am using Django with Celery + RabbitMQ to create video conversion tasks of videos being uploaded by the users. <a href="http://dpaste.com/370419/" rel="nofollow noreferrer">Now I know how to query celery to get the status.</a> My question is where to save the task_id associated with each task, should I save it in models or in django's cache? </p>
  
  <p>I know that similar questions have been asked in the past e.g. <a href="https://stackoverflow.com/questions/4335577/test-if-a-celery-task-is-still-being-processed">this stackoverflow question</a> but there has been no definitive answer yet. I know the answer to this varies per developer's preferences but if someone can educate on pros/cons of different approaches, that will be great.</p>
  
  <p>Just to re-iterate I will use the task_id to fire AJAX queries every so often from the front-end to know if the video conversion is completed or not.</p>