A
Aaron Couts
I'm working on a network server written entirely in perl, and it's functioning,
in a way, as a proxy server for an Oracle database. Right now each new
socket connection forks off a process, and that new process creates a brand
new database connection. This is kind of slow and dumb, so I have a few
questions.
1. Are there any tools out there that are custom-made for this? Something
like Apache:BI would be great, but I can't run the server under Apache.
Also I need to use forks rather than threads.
2. I was thinking of using forks::shared to manage a pool of connections, but
it looks like it doesn't work with database handles. Can anyone confirm this?
Thanks,
Aaron
in a way, as a proxy server for an Oracle database. Right now each new
socket connection forks off a process, and that new process creates a brand
new database connection. This is kind of slow and dumb, so I have a few
questions.
1. Are there any tools out there that are custom-made for this? Something
like Apache:BI would be great, but I can't run the server under Apache.
Also I need to use forks rather than threads.
2. I was thinking of using forks::shared to manage a pool of connections, but
it looks like it doesn't work with database handles. Can anyone confirm this?
Thanks,
Aaron