Sorry, I'm not sure I understand the full problem correctly. If you're
running these tasks serially, why bother with a queue at all? Just run
each task one after the other in the same process.

_Nik

On 12/11/2012 8:01 AM, psychok7 wrote:
> I got the named queues working with 1 worker, but i am not able to
> make it FIFO.. Its only fifo for the tasks that were rescheduled, but
> my latest task runs and i only want that to happen after the other
> ones get executed..
>
> any more ideas?
>
> On Monday, December 10, 2012 4:20:52 PM UTC, psychok7 wrote:
>
>     So I have this 2 applications connected with a REST API (json
>     messages). One written in Django and the other in Php. I have an
>     exact database replica on both sides (using mysql).
>
>     When i press "submit" on one of them, i want that data to be saved
>     on the current app database, and start a cron job with
>     celery/redis to update the remote database for the other app using
>     rest.
>
>     /*My question is, how do i attribute the same worker to my tasks
>     in order to keep a FIFO order?*/
>
>     I need my data to be consistent and FIFO is really important.
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/1Ud3yLDgjicJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to