On 22/06/14 10:46, smur...@gmail.com wrote:
I've been doing this with a "classic" session-based SQLAlchemy ORM, approach, but that ends up way too slow and memory intense, as each thread gets its own copy of every object it needs. I don't want that.
If you don't want each thread to have their own copy of the object, Don't use thread-scoped session. Use explicit scope instead.