Small Mosaic


Categories:

/books
/career
/codinghorrors
/events
/geekstuff
/justdont
/languages
/languages/bash
/linkshot
/magazines
/meta
/misctech
/movies
/nottech
/operatingsystems
/operatingsystems/linux
/operatingsystems/linux/debian
/operatingsystems/solaris
/perl
/presentations
/programming
/python
/ruby
/security
/security/apache
/security/tools
/serversmells
/services
/services/dns
/sites
/specifications
/sysadmin
/testing
/tools
/tools/commandline
/tools/firefox
/tools/gui
/tools/network
/tools/online
/tools/online/greasemonkey
/tools/puppet
/unixdaemon

Archives:

July 20111
June 20112
May 20113
April 20112
March 20117
January 20111
December 20103
November 20103
August 20101
July 20101
June 20104
May 20102
April 20101
March 20108
February 20101
January 20102
Full Archives

Sun, 09 Jul 2006

Apache ETags and Clustered Webservers
This one's as much for my own memory as for everyone else, I've already used it at two companies and had to rediscover it at each...

If you have a number of load balanced apache servers serving the same site and you use ETags to help reduce the number of page requests make sure that the generated ETag doesn't consult the file inode; these will hardly ever be the same across servers - unless you build from a gold image - and will cause the client to download the page again each time it hits a different server.

And a bonus tip: make sure they use ntp and the clocks are synced, time differences make the ETag hashes differ.

Like this post? - Digg Me! | Add to del.icio.us! | reddit this!

Posted: 2006/07/09 10:13 | /misctech | Permanent link to this entry | This entry and same date


books career codinghorrors events geekstuff justdont magazines meta misctech movies nottech operatingsystems/linux operatingsystems/linux/debian operatingsystems/solaris perl programming python ruby security security/apache security/tools serversmells services/dns sites sysadmin testing tools tools/commandline tools/firefox tools/gui tools/network tools/online tools/online/greasemonkey tools/puppet unixdaemon

Copyright © 2000-2010 Dean Wilson XML feed logo