Re: Finding a balance between caching and stat tracking

2007-01-11 Thread Perrin Harkins
On Thu, 2007-01-11 at 15:44 -0500, Mark Stosberg wrote: > I'm researching how to best integrate caching with a mod_perl website. > For some important cases I want to do some customized stat tracking for > particular queries, although they otherwise return the same content, > which would otherwise b

Re: Finding a balance between caching and stat tracking

2007-01-11 Thread Jonathan Vanasco
my suggestion would be this: use a lightweight proxy on port 80. i like nginx. have the proxy handle as much stat tracking as possible -- write to a logfile something like "%{cookieID}\t%{request_arg}\t% {trackedData}" then just batch that overnight. if you do that for static pages,

Finding a balance between caching and stat tracking

2007-01-11 Thread Mark Stosberg
Hello, I'm researching how to best integrate caching with a mod_perl website. For some important cases I want to do some customized stat tracking for particular queries, although they otherwise return the same content, which would otherwise be directly cacheable. The approach that seems to fit t