You have persistent connections: just use the pool: it is documented in the book. If you find problems with speed use the profiler that comes with web2py and post here or open a ticket with the results and a model to reproduce those problems, they will be fixed.
mic Il giorno 30/ott/2011 15:06, "evilaliv3" <[email protected]> ha scritto: > On 30 Ott, 00:39, Massimo Di Pierro <[email protected]> > wrote: > > You must use cache.ram but this is not guaranteed to work. > > Excuse me Massimo, > but, if i understand well this answer, there is no way to have also a > persistent connection to the database or a global application variable > in web2py? > for every request the whole application is reinitialized? > > > In a multi-threaded environment the web server decides which threads > > to start/stop/kill. > > does this happen in a deterministic fashion? is there some > documentation about? > > Giovanni Pellerano

