I have a better approach -- I am working on a connection pool -- there will be one connection per process and database (modules will reuse connections of other modules).
Jan.
On 12-12 16:32, Greg Fausak wrote:
I've created a bit of a database hack that delays the DB open until a query is processed. Using this technique, I have cut the number of connections to the postgres database to just 2. I'm going to experiment with it for a while, but I think this might be a good thing to check in, what do you think?
It might also be useful for mysql, idunno.
---greg
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers