Re: [pylons-devel] Re: Scripting requests - Pyramid + Celery

2015-11-19 Thread Robin Harms Oredsson
Good point about the debug_toolbar. That might be it. Thanks! Any other celery examples out there? Especially around scripting requests? Thanks, Robin 2015-11-18 22:12 GMT+01:00 Jonathan Vanasco : > Ok, this use case is somewhat similar to ours... in that it doesn't >

Re: [pylons-devel] Re: Scripting requests - Pyramid + Celery

2015-11-18 Thread Robin Harms Oredsson
Fair point :) I have an application with a ZODB. Some parts of the app will require complex calculations that will take a really long time to run. After they finish, they'll want to write something. So i essentially imagine something like this: - Pyramid frontend, read access - Celery long

Re: [pylons-devel] Re: Scripting requests - Pyramid + Celery

2015-11-18 Thread Jonathan Vanasco
Ok, this use case is somewhat similar to ours... in that it doesn't require pyramid at all. We use sqlalchemy, but zodb shouldn't be much different. We have 2 packages: * `myapp_pyramid` * `myapp_celery` `myapp_pyramid` will import `myapp_celery` to call it's `@task` decorated functions.