Check out the new USENIX Web site. next up previous
Next: Utility Functions Up: API Functions Previous: Content Management Functions


Customized Administration

The API provides notifications that can be used to augment the administrative and monitoring interfaces typically available in proxy caches through Web-based tools, command-line monitoring, and SNMP. The event notification for logging allows the proxy to extract real-time information and manipulate it in a convenient manner in order to feed external consumers of this information. For example, content distribution networks and web hosting facilities may use real-time log monitoring to provide up-to-date information to customers about traffic patterns and popularity on hosted web sites, or to notice high rates of ``page not found'' errors and dynamically create pages to redirect users to the appropriate page. While all of this information can be obtained in off-line post-processing of access logs, the API allows deployers to implement custom modules that meet their specific needs for realtime analysis and action.

The administrative interfaces of the API can also be used to monitor networks of proxies, and to combine this information with other sources in Network Operation Centers (NOCs). For example, if a company is running a network of proxies and notices an unusually low request rate at one such proxy, this information can be combined with other information to help diagnose congested links or overloaded systems beyond the company's control. Since the proxy is functioning normally, one isolated measurement provides less reliable information than programmatic and comparative measurement of different systems.


Table 4: Code required to implement sample services
Module Name Total Code Semicolons # API
  Lines Lines   call sites
Ad Remover 175 115 51 4
Dynamic Compressor 387 280 126 11
Image Transcoder ($+$ helper) 391 $+$ 166 309 $+$ 118 148 $+$ 54 10
Text Injector ($+$ helper) 473 $+$ 56 367 $+$ 32 170 $+$ 8 12
Content Manager 675 556 289 56
ICAP client 1024 719 321 15



next up previous
Next: Utility Functions Up: API Functions Previous: Content Management Functions
Vivek Sadananda Pai 2003-01-17