Re: [Exim] exim/PostgreSQL connection pooling

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Richard Welty
CC: exim-users
題目: Re: [Exim] exim/PostgreSQL connection pooling
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