in reply to mod_perl memory question

I'd suggest memcached and one of its perl bindings.