On Sep 9, 2007, at 8:22 PM, Bill Moseley wrote:
On Sun, Sep 09, 2007 at 12:28:58PM -0400, Peter Hartzler wrote:
I'm hoping to reduce the overall memory footprint without losing the
benefits of caching. (Lazy AND greedy!) Tmpl->Perl parsing
overhead is
less of an issue for us, for the reason you mention.
Our site currently has around 200 templates. What I *think* I'm
seeing
is memory consumption where each apache instance (child w/ mod_perl)
keeps its own cache. The next step from there is the idea of
centralized caching.
I see. When you mentioned memcached that made me think you wanted to
share across servers. I don't see memcached helping here, but I might
be wrong. It's not like you can use memcached as extra memory for
your process.
Though I do not claim to be an expert in this area, memcached is in
fact a "giant hash table distributed across machines" and does in
fact allow for significant speed increase. Caveat emptor.
Here is a link from the most recent YAPC::EU by Leon Brocade
presenting memcached.
http://www.slideshare.net/acme/scaling-with-memcached
Jeremiah
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates