Pooling
From: Danny Kellett (DannyKellett_at_@hotmail..com)
Date: 05/27/04
- Next message: Danny Kellett: "Re: Opening large query"
- Previous message: Heriberto: "Re: Load and save image"
- Next in thread: Vitali Kalinin: "Re: Pooling"
- Reply: Vitali Kalinin: "Re: Pooling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 May 2004 14:46:24 -0700
Hi,
Im delevoping a 3 tier app using Indy components as the middleware and
ADO as the connection to the RDBMS. At the moment I have an ADO
connection for every client connection. What I want is to be able to
set a connecton value, say 5 in an ini file and then whent the server
starts, it opens all 5 ADO conections to the RDBMS and then the clients
use whatever connection it can or wait until the next on is available.
Has anyone got any ideas or example code on how to go about this please?
I have thought of having a TThreadlist with the open connections but Im
not sure how to write the actual pooling or load balancing of it.
Im sure someone out there has implemented something like it... I hope ;)
Any examples would be fantastic.
Thanks and kind regards
Danny
- Next message: Danny Kellett: "Re: Opening large query"
- Previous message: Heriberto: "Re: Load and save image"
- Next in thread: Vitali Kalinin: "Re: Pooling"
- Reply: Vitali Kalinin: "Re: Pooling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|