[OpenAFS] Using OpenAFS with Web Servers

Derrick J Brashear shadow@dementia.org
Thu, 21 Mar 2002 12:04:31 -0500 (EST)


Actually one of the more interesting ideas I got from a former coworker is
one where you'd have a separate AFS cache for your web server (he did a
web server that worked that way, but the afsweb module for apache also
does this).

My idea was to take it further, and at web server startup, traverse all
the files you wish to serve (or as many, prioritized, as will fit in the
cache you have on your servers)

When something changes in AFS you get the change, otherwise, you serve
stuff right out of a local cache unaffected by the operation of the
machine. 

My own web servers serve stuff from the system cache directly from AFS,
but those are not high-traffic sites.

(http://prr.dementia.org is for instance available entirely in
/afs/dementia.org/web/prr)

-D