Atif Ghaffar wrote: > > On Fri, Oct 9, 2009 at 4:19 PM, Stefan de Konink <[email protected] > <mailto:[email protected]>> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Atif Ghaffar schreef: > >> Stefan, yes I totaly agree with you. > >> I am saying that this is what I was expecting with dbslayer > handler, > >> but not getting it. > > > >> The connections from the dbslayer -> database are not staying > persistent. > >> I will do some more tests over the weekend and get back with my > findings. > > Did you expect the actual database connection was stayed up so > that you > could set variables and do transactions? > > > Stefan, No, I have read the docs and absolutely do not want to do that. > just regular simple select from this/that , update, insert, delete. Good then. I suppose you already know that Atif, but in case you hadn't noticed: beware of transactions, locking tables and that sort of things. Separate queries could very well be handled by separate servers depending on your balancing scheme. Either contain several operations on a single query, or don't try. Never dispatch them as separate queries.
-- [email protected] http://unixwars.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
