On Sunday, May 31, 2015 at 4:48:09 AM UTC-4, Fayaz Yusuf Khan wrote:
>
> I do the former in cases which involve very long transactions. (Batch 
> uploads and processing. I'm counting batch and background tasks as part of 
> the controller layer here.)
>
 
I manage transactions manually in the controllers too.

I used multiple transactions in the controller a for a while for long 
transactions, but then decided to offload all that stuff onto another 
process (via Celery).

Now I only use multiple transactions for "batch" processing where not every 
component involved in the transaction supports savepoints.

-- 
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/d/optout.

Reply via email to