On Sep 9, 2007, at 9:20 PM, Jeremiah Foster wrote:
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 thebenefits of caching. (Lazy AND greedy!) Tmpl->Perl parsing overhead isless of an issue for us, for the reason you mention.Our site currently has around 200 templates. What I *think* I'm seeingis 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 toshare across servers. I don't see memcached helping here, but I mightbe 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.
The correct spelling is Leon Brocard (sorry Leon!)
http://www.slideshare.net/acme/scaling-with-memcached
Here is the homepage: http://www.danga.com/memcached/
Jeremiah
_______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
