Re: Difference between signals and celery

2013-12-01 Thread fchow
Question: If a view saves a model that has a post-save hook, does the view return after the post-save hook has completed? Or does the view return and the hook runs in the background like a celery task would? On Friday, November 29, 2013 10:52:04 AM UTC-8, Robin Lery wrote: > > This may be a l

Re: Difference between signals and celery

2013-12-01 Thread Robin Lery
oh..ok. Thank you so much! :) Its really great to learn something new. On Sun, Dec 1, 2013 at 7:42 AM, Avraham Serour wrote: > No, you can run celery from the same server, the problem is you won't be > able to do that on many cheap shared hostings > > > On Sat, Nov 30, 2013 at 7:35 PM, Robin

Re: Difference between signals and celery

2013-11-30 Thread Avraham Serour
No, you can run celery from the same server, the problem is you won't be able to do that on many cheap shared hostings On Sat, Nov 30, 2013 at 7:35 PM, Robin Lery wrote: > Thank all so much for you replies. Just one more question though. Does > this means Celery needs a different server? > > >

Re: Difference between signals and celery

2013-11-30 Thread Robin Lery
Thank all so much for you replies. Just one more question though. Does this means Celery needs a different server? On Sat, Nov 30, 2013 at 12:41 AM, Carlos Daniel Ruvalcaba Valenzuela < clsdan...@gmail.com> wrote: > Signals are like events, for example, when the ORM has done an update. > Celery

Re: Difference between signals and celery

2013-11-29 Thread Carlos Daniel Ruvalcaba Valenzuela
Signals are like events, for example, when the ORM has done an update. Celery is more like a Task queue, you define code to execute certain task, load it on celery task server which is running separately from your django process, then when you need to execute it in the background you tell it, which

Re: Difference between signals and celery

2013-11-29 Thread Nevio Vesic
The easiest answer I could give is that django signals are like hooks. Something you wish to preform AFTER or BEFORE some model action. Like you wish to adjust account balance on model save. Than you would use post_save builtin django signal. Celery is here to handle task in background. Like you w

Difference between signals and celery

2013-11-29 Thread Robin Lery
This may be a lame question, but I am really confused with these two. I know *signals* are used to do some task when something has happened. But what about celery? In the documentation it says: *Celery is an asynchronous task queue/job queue based on distributed message passing.* Will someon