--
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...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/71e57ca7-61db-4e92-93bd-02340ffaa819%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tuesday 14 March 2017 13:14:37 Prafull Gaikwad wrote:
> Current situation -
> Currently, I am using celery where I have the Django server
> communicating with different celery workers hosted on different
> Raspberry Pis. The web application served by Django takes request
> from the user and updates the database collecting information from
> the raspberry pi. Using Celery becomes a bit complicated here as I
> have to have task queues in Celery broker corresponding to each
> raspberry pi which might be a problem while scaling it up.
I don't really understand why you've turned a simple push protocol into a complicated message exchange. The pis are more then capable of keeping state of last sent data, so why not just throw it over the wire and be done with it. Let the server figure out what to do with the package.
--
Melvyn Sopacua