100 likes | 112 Views
This project presents a framework for web caching with a proxy domain, including an overview, sample application highlights, and a demonstration. The framework can read requests from clients, data from remote computers or caches, and write data back to clients' browsers. The application highlights Amazon Web Services as a caching web server and proxy, with a detailed implementation process. The framework includes components like ProxCache, ProxFilter, server classes, and proxies.
E N D
Framework Presentation Project Participants: Stuart King Feng I Liu Zhijian Huang CSE870 Advanced Software Engineering, Spring 2001 Instructor: Dr. B. Cheng
Overview • Proxy Domain Description • Framework Overview • Sample Application Highlights • Demonstration • Discussion
Proxy Domain Web Caching Proxy 1) Read a request from a CLIENTs browser 2) Read data from a REMOTE computer or CACHE 3) Write data back to the CLIENTS browser REMOTE (on net) CLIENTs browser request PROXY data data CACHE
Framework Overview PROXY FRAMEWORK proxy. START ( ) ProxCache interface ProxFilter interface proxy. STOP ( )
APPLICATION FRAMEWORK CLIENT REMOTE PROXY (PORT, CACHE, FILTER) . RUN() ACCEPT() NEW ProxFILTER & ProxCACHE thread REQUEST ProxFILTER REQUEST parse GET DATE ProxCACHE CHECK REQUEST/ GET RESPONSE If check = false DATA JUMP ProxFILTER RESPONSE ProxCACHE PUT (RESPONSE, DATE) End IF ProxFILTER RESPONSE RESPONSE
Application Highlights • AWS is a caching WEB server AND proxy • The Server class was converted by: 1) Removing its THREAD capability 2) Implementing FILTER & CACHE to call the LOG and CACHE classes 3) Making and Starting a PROXY thread
Framework PARSE UrlDat REMOTE String cacheDirectory; ProcHOST ProxCache ProxFilter PROXY ProxCacheDefault ProxFilterDefault Start & Stop LOG Server HTTP CACHE Header Req Server HTTP CFG Int Server HTTP Attributes DocHTTP1Factory DocHTTP1 AWS long cacheLowWaterMark; long cacheCurrentWaterMark; String cacheBackupFile; String serverDataBaseBackupFile; double serverInfoSmoothingFactor; double weightConnectionTime; double weightBandWidth; double weightReferencesFrequency; double weightSize; boolean alternativeProxyOn; String alternativeProxyName;
Demonstration of proxy • AWS is a proxy • AWS does cache • When AWS connects to itself, it generates (AND CATCHES) errors. • Questions
Discussion • PROXY, WEB, and JAVA problems Abandoned Add Filter, Protocol Ignorance, IE and windows Proxy, Java String.getBytes() • Started with Black Box library interface, Several good guesses on Framework (but no Parse Response) • QUESTIONS GUI, Multiple Caching Algorithms