Re: [vchkpw] Persistent Mysql Connections for auth?

2005-09-09 Thread Greg Swift

Ken Jones wrote:

David Erickson wrote:

Is there any way to get vpopmail to either use a connection pool or
persistent connections to mysql for authorization?

Only if there is a way to get separate invocations of a process
to use a connection pool. Each email delivery or authentication
uses a new process.
So why not create a vpopmail "daemon" process that maintains the 
connection(s) to the db, and feed the vchkpw auths through that daemon.  
Have them stand in line per se against through that one, that way you 
the system doesn't fail on load, it just slows.  I've got no problem 
defining a connection pool of 1k+ strictly to vpopmail, just so long as 
it handles it just fine once it hits that number.


-Greg



Re: [vchkpw] Persistent Mysql Connections for auth?

2005-08-25 Thread Ken Jones

David Erickson wrote:

Is there any way to get vpopmail to either use a connection pool or
persistent connections to mysql for authorization?


Only if there is a way to get separate invocations of a process
to use a connection pool. Each email delivery or authentication
uses a new process.

Ken Jones