[dev] Reducing persistent database connections
Jan Schneider
jan at horde.org
Thu Jun 5 08:06:51 PDT 2003
Zitat von Joe Wilson <joe.wilson at mindcandy.org>:
> I think that the best way to do this would be to have the framework set
> up a
> connection pool that the individual apps can request from. This way, you
> configure Horde to initialize with X persistent connections, allow it to
> grow
> to a maximum of Y connections. This avoids the overhead of creating a
> connection on each app request, which will get very expensive very
> quickly,
> while still optimizing the use of connections.
This is only possible with a state machine like srm.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the dev
mailing list