What is the benefit of pyramid_celery if I am using a standard celeryconfig rather than the ini file?

34 views
Skip to first unread message

Jo G

unread,
Nov 9, 2016, 5:10:07 AM11/9/16
to pylons-discuss
I've asked this on stack overflow as well.

So I have a pyramid app which stores data in zodb (Substanced) and also creates a solr index for a speedy search of that data. Some of the solr indexing takes a while so I am wanting to make the solr indexing asynchronous. I am going to use rabbitmq and celery.

Do I benefit from using pyramid_celery? I don't want to use the ini file to store the celery config and there are no scheduled tasks so no celery beats. This is small scale and all of the processes/tasks will run on one machine.

Thanks

John Anderson

unread,
Nov 9, 2016, 10:21:57 AM11/9/16
to pylons-...@googlegroups.com
Absolutely nothing.  pyramid_celery is specifically for sharing your ini configuration / app configuration with your celery workers.  If you don't have a need to share those things you have no need for pyramid_celery :)

--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/d4bb151a-e295-4b87-850d-9f0b1f088fbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jo G

unread,
Nov 9, 2016, 6:09:41 PM11/9/16
to pylons-discuss
Ah I see, so I need the root object of my pyramid application. I've just used bootstrap to get env. Am I redoing something that is already there in pyramid_celery? I could only see the registry.
Thanks


On Wednesday, 9 November 2016 15:21:57 UTC, Sontek wrote:
Absolutely nothing.  pyramid_celery is specifically for sharing your ini configuration / app configuration with your celery workers.  If you don't have a need to share those things you have no need for pyramid_celery :)
On Wed, Nov 9, 2016 at 5:10 AM, Jo G <joannegil...@gmail.com> wrote:
I've asked this on stack overflow as well.

So I have a pyramid app which stores data in zodb (Substanced) and also creates a solr index for a speedy search of that data. Some of the solr indexing takes a while so I am wanting to make the solr indexing asynchronous. I am going to use rabbitmq and celery.

Do I benefit from using pyramid_celery? I don't want to use the ini file to store the celery config and there are no scheduled tasks so no celery beats. This is small scale and all of the processes/tasks will run on one machine.

Thanks

--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com.
To post to this group, send email to pylons-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages