SLIDE 1
2
Using Threads to Structure the Proxy Server
network driver
HTTP request handler
disk driver
scrubber stats
- bject cache
manager
distill encrypt logging
long-term periodic threads
gather statistics “scrub” cache for expired (old) objects
worker threads for specific objects
distiller compresses/shrinks images encrypt/decrypt
device controller threads
logging thread
- ne thread for each disk
- ne thread for network interface
server threads
request handlers
Thread Family Tree for the Proxy Server
network driver
HTTP request handler
disk driver
scrubber stats
file/cache manager
distill encrypt logging
main thread; waiting for child termination periodic threads; waiting for timer to fire server threads; waiting on queues of data messages
- r pending requests (e.g., device interrupts)