in reply to Are connections automatically pooled when using mod_perl?

No, nothing is automatic

If you're using Apache::DBI, you're getting cached connections, whether or not you're using DBI->connect_cached

Read Apache::DBI, much of the information carries over to how to accomplish said task for memcached

  • Comment on Re: Are connections automatically pooled when using mod_perl?

Replies are listed 'Best First'.
Re^2: Are connections automatically pooled when using mod_perl?
by PerlOnTheWay (Monk) on Dec 19, 2011 at 09:22 UTC

    How is that done for memcached?

    I don't find a Apache::Memcached module exists..

      I would do it the same way as Apache::DBI does, except that instead of calling DBI->connect, I would set up the connection to memcached. It shouldn't be hard if you work from Apache::DBI. ->pinging the connection might be a bit more difficult.

        Is that such a module like Apache::DBI that works for memcached?