[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding a balance between caching and stat tracking



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, you can kill a GIANT amount of traffic directed at mod_perl, and still have your tracking

personally, i've pretty much given up on caching non-binary content.
nearly every page i serve now is dynamic : everything needs a login box , or a 'hello' box. i heavily cache objects to generate pages with, but i've seen a rapid decrease in cache-able items .


// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.