durusmail: quixote-users: Re: Reusing connections quixote 2
Re: Reusing connections quixote 2
2006-11-07
2006-11-07
2006-11-07
2006-11-07
2006-11-07
2006-11-07
2006-11-08
2007-02-01
2007-02-01
2007-02-01
2006-11-08
2006-11-08
2006-11-08
2006-11-08
2006-11-09
2006-11-08
Re: Reusing connections quixote 2
Arturo FM
2006-11-09
> Not if the sessions are stored persistently.  At
> worst the user will
> get an error screen if the server is killed in the
> middle of the
> request.  A reload in the browser will restore
> things.
Yes, I know ;) But I prefer don't store sessions in
db.

> Meaning the chance of somebody
> doing a request
> at the moment you restart the server was not zero
> but it wasn't that
> high either.
OK!

> The pool would not recycle a connection while it's
> in use.  When it's
> in use it's not in the pool.
Yes, it's true! :)

> You don't have to get a connection for each query.
> Get one at the
> beginning of the request and return it at the end.
OK! Good advice!

I will try to test this issues in my application and I
will write to us soon.

Thanks a lot!

----------------------------
Arturo Fernandez (artufm at yahoo dot es)





______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
reply