Re: [SQLObject] SQLObject+Quixote+SCGI
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ksenia M. <ks...@ks...> - 2004-10-27 09:15:45
|
Op 24-okt-04 om 14:04 heeft Oleg Broytmann het volgende geschreven: > People, how do you handle forks and transactions? > > I use Quixote+SCGI(+Apache); my program is a long-living (Quixote) > forking (SCGI) process. The thing that is worrying me is that I import > a > module that defines my tables almost before anything else. The module > opens a connection to a Postgres database, and then SCGI forks the > program. > Should I worry? Shoud I close and reopen the connection? What about > transactions? > I am on the same path (SQLObject + Quixote + SCGI), but earlier - worring about more primitive things yet :) But I share your concern. There is a mention of preferred connection approach in Quixote on this page: http://wiki.sqlobject.org/connections.html, but it's all I can find. Maybe it's related to the forking problem? More comments are greatly appreciated... Ksenia. |