Wednesday, February 26, 2014

Re: Django with rabbit (but without async celery) - can be done?

thanks for your response: to clarify:
ordered execution of writes
and the sending process isn't python (so I can't use eager celery for that)

On Tuesday, February 25, 2014 6:12:32 PM UTC+2, Carlos Daniel Ruvalcaba Valenzuela wrote:
I'm still not sure of what you need, so there is something (a process) sending a message through rabbitmq with data that needs to be written to the DB, now, this needs to be synchronized, sync with what? an http request? ordered execution of writes?

Regards,
Carlos Ruvalcaba

On Tue, Feb 25, 2014 at 8:28 AM, Alon Nisser <alon...@gmail.com> wrote:
I need to implement a quite simple Django server that server some http requests and listens to a rabbitmq message queue that streams information into the Django app (that should be written to the db). the data must be written to the db in a synchronized order , So I can't use the obvious celery/rabbit configuration.  I was told that there is no way to do this in the same Django project. since Django would listen to http requests on It's process. and It can't handle another process to listen for Rabbit - forcing me to to add Another python/django project for the rabbit/db writes part - working with the same models The http bound django project works with.. You can smell the trouble with this config from here. .. Any Ideas how to solve this?

Thanks!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/794bf8ca-a15b-40da-97c2-b3a416a35fe0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1a68a44b-4bf1-4d53-b222-54e49a6e8eea%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment