Hi,
I use SQLAlchemy and problems with threads appeared (different data in
different requests) so I added model.session_context.current.clear()
to __before__ method of my controller. Now everything work fine but
performance dropped from about 45 req/s to about 16 req/s (ab -n 500 -
c 10)
I use Elixir.
Models are described here:
http://hoscilo.pypla.net/2007/03/19/sqlalchemy-elixir-and-pylons-round-one/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to