On Mon, 1 Sep 2003, Richard Welty wrote:
> has anyone done anything with code to permit exim instances to share
> a database connection pool? i'm looking at a situation where three exim
> servers and a radius server are querying a single PostgreSQL server, and am
> interested in reducing the connection time, as a fair percentage of the
> server's time is getting chewed up by building and dismantling connections
> right now.
Since Exim processes are all short lived (except the daemon), sharing
connections between them isn't something one could contemplate adding
directly. The best I can think of would be to write some new daemon to
manage the connection, and get Exim processes to talk to it using
${socket.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book