[Templates] Storing compiled templates to memcached?

Randal L. Schwartz merlyn@stonehenge.com
Sun, 09 Sep 2007 10:20:37 -0700


>>>>> "Peter" == Peter Hartzler <pete@hartzler.net> writes:

Peter> Our site currently has around 200 templates.  What I *think* I'm seeing
Peter> is memory consumption where each apache instance (child w/ mod_perl)
Peter> keeps its own cache.  The next step from there is the idea of
Peter> centralized caching.

Have you tried preloading before forking?  As long as the templates aren't
changing, I've found that gives some relief.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!