Thanks guys. Jonathan, that is, I think, what will be going on.

So, I'm not quite clear from your comments, using SQLAlchemy with Twisted
is practical now or not? Is it better to do it with Twisted than with
Gevent?

If you have the time to explain further about the persisting the session
comment that would be great.

At the moment I'm just trying to figure out what I want to figure out. ;-)

thanks
Iain


On Thu, Oct 3, 2013 at 5:05 PM, Jonathan Vanasco <jonat...@findmeon.com>wrote:

> Also, a decent strategy to use is this:
>
> a) Your client does a lot of business logic in Pyramid.  When you need to
> bill you hit an internal API or create a celery task
>
> b) You render a "waiting" page, and have ajax, or refresh, check to see if
> the internal API , or celery, is done processing
>
> c) when the internal api is done processing, you show the "thank you"
> screen.
>
> getting my SqlAlchemy model to work on Celery was a bit of a nightmare.  i
> can try and dig up exactly what I did.
>
> IIRC, the problem was the Celery didn't seem to have an 'on
> initialization' routine, so I had to do some janky shit call my sqlalchemy
> initialization stuff.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to