cherrypy + sqlalchemy

2 views
Skip to first unread message

saptah

unread,
May 10, 2008, 2:09:39 PM5/10/08
to cherrypy-users
Hi,

I'm new in the group, and I'd like to send a question :)
First of all, sorry for my english.

I've try some times to get working together cherrypy with sqlalchemy
in a correct and threadsave mode, but I never do it work.
¿Anybody have some info about getting this think working?
We want to build an appliacion with a lot of concurrent access, and we
wanna be sure that the system is gonna perform well.

We've been looking webpyte (http://code.google.com/p/webpyte/), but
I'd like to hear froma a person who have a web in this configuration
in production.

Thanks to all :)

Yann Ramin

unread,
May 11, 2008, 2:25:09 PM5/11/08
to cherrypy-users
You should be able to make a sqlalchemy.orm.scoped_session(), or
manually get a new session per request.

This is how Pylons, etc do it and how I've done it in cherrypy.

saptah

unread,
May 12, 2008, 7:16:25 AM5/12/08
to cherrypy-users

Thanks for your answer.

Can you paste some examples?
I promise I'll put some examples in the cherrypy wiki :)

Thanks!
Reply all
Reply to author
Forward
0 new messages