Re: [sqlalchemy] Re: Can you count the active/open sessions?

2013-09-02 Thread culix
Hi Michael, thanks for the reply and the links. You're right - counting connections makes much more sense. In my tests with and without connection tracking my app seems to perform at the same speed. This is good! Is there any significant performance overheard to event listening? Or perhaps it

Re: [sqlalchemy] Re: Can you count the active/open sessions?

2013-09-02 Thread Michael Bayer
On Sep 2, 2013, at 12:46 PM, culix dndcu...@gmail.com wrote: Hi Michael, thanks for the reply and the links. You're right - counting connections makes much more sense. In my tests with and without connection tracking my app seems to perform at the same speed. This is good! Is there any

[sqlalchemy] Re: Can you count the active/open sessions?

2013-08-29 Thread Jonathan Vanasco
in general , It's worth reading these 2 sections of the docs if you haven't already : http://docs.sqlalchemy.org/en/rel_0_8/orm/session.html#session-frequently-asked-questions http://docs.sqlalchemy.org/en/rel_0_8/orm/session.html#using-thread-local-scope-with-web-applications -- You received