Python ORM library for distributed mostly-read-only objects?

smurfix at gmail.com smurfix at gmail.com
Mon Jun 23 14:05:11 EDT 2014


On Monday, June 23, 2014 5:54:38 PM UTC+2, Lie Ryan wrote:

> 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.

How would that work when multiple threads traverse the in-memory object structure and cause relationships to be loaded?

IIRC sqlalchemy's sessions are not thread safe.



More information about the Python-list mailing list