If you do have multiple processors on your database server, then my suggestion would be to fork() N processes to each do 1/N of the work (N = number of available processors). Each process can then establish a private database connection, saving you the trouble of dealing with connection pools.
Of course, more complicated schemes are possible but they are unlikely to be worth the effort.
-sam
In reply to Re: DB Connection pool
by samtregar
in thread DB Connection pool
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |