in reply to DB Connections resetting
Instead of forking child process for every web request, and consequently establishing new connection to MySQL, you can use some event oriented framework like AnyEvent::HTTP, POE::Component::Client::HTTP, or just Event or EV and perform all requests in single process.
|
|---|