1 / 29

Proxy Server based Proxy Cache Engine

Proxy Server based Proxy Cache Engine. Perfomed by: Leonid Romanovsky Olga Fomenko Intructor: Konstantin Sinyuk. Project Goals. Find appropriate proxy software. Integrate Proxy Cache Engine (PCE card) into proxy server software. Test PCE card in initial configuration.

cody-poole
Download Presentation

Proxy Server based Proxy Cache Engine

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Proxy Server based Proxy Cache Engine Perfomed by: Leonid Romanovsky Olga Fomenko Intructor: Konstantin Sinyuk

  2. Project Goals • Find appropriate proxy software. • Integrate Proxy Cache Engine (PCE card) into proxy server software. • Test PCE card in initial configuration. • Improve performance of PCE card to achieve the maximum in test environment. • Make system and OS optimization to resolve possible bottlenecks.

  3. Proxy Description LAN Internet Client Data Data Proxy Software

  4. Proxy Advantages • Stores internet pages locally. • Reducing the amount of data transferred on external links. • Efficient use of external bandwidth.

  5. PCE Card Description • The Proxy Cache Engine project attempts to overcome the known proxy cache limitations and resolve in hardware existing system bottlenecks. • Proxy Cache Engine project was performed in High Speed Digital Systems Lab by Artyom Borzin and Stas Lapchev. FOR MORE INFO... Read Proxy Cache Engine final report on High Speed Digital Systems Lab site.

  6. PCE Card Description(cont.) LAN Internet Client Page requested by client Data Data Search Results Search Request Proxy Handler Functions Client Handler Functions Proxy cache engine (PCE) unit

  7. Proxy Software-Competitive Analysis • Competitors • Jigsaw • Strengths • The server uses an object-oriented approach when it comes to the storage of files and the processing of incoming requests, making it both more efficient and easily extensible. • Weaknesses • Developed under Java,which limited in optimization by Java Virtual Machine.

  8. Proxy Software-Competitive Analysis(cont.) • Competitors • Squid Web Proxy Cache • Strengths • One of the most popular proxy software in the world. • Test environment is very simple. • Weaknesses • Developed for UNIX. • Sophisticated design. • No support in module development model.

  9. Proxy Software-Competitive Analysis(cont.) • Competitors • Apache HTTP Server 1.3 • Strengths • Developed in module development model. • Simple API. • Weaknesses • Has one module for proxy and cache methods. • Contains number not needed modules.

  10. Proxy Software-Competitive Analysis(cont.) • Competitors • Apache HTTP Server 2.0 • Strengths • Developed in module development model. • Simple API. • Has separated modules for proxy and cache. • Weaknesses • Contains number not needed modules.

  11. General Request Block Diagram Apache 2.0.43 Web Interface/ Win32 API PCE card Internet mod_disk_cache Apache Request handler mod_proxy Client

  12. URL Request Block Diagram Fetch from cache Cache found Receive URL request Search in PCE database Handle request Cache not found Bring to cache Update PCE database

  13. PCE Card Integration • PCE card was integrated using two models to solve multithreaded problem in PCE card driver*: • Socket model • Messaging model *- PCE card driver has no support in multithreaded and multiprocessing

  14. Models Description • Socket model • Supports IPC* in network level • User-Friendly • Messaging model • Supports IPC in pipeline level • OS oriented * IPC – Inter-Process Communication

  15. Socket Model • In this model we can distribute PCE card on number computers to allow parallel workload. Client Apache PCE card Host TCP/IP TCP/IP

  16. Messaging Model • In this model we using Win32 API to pipe IPC messaging. Client Apache PCE card TCP/IP Win32 API Messaging

  17. Testing Methods • Simple PCE card test • Small number of requests from single client. • Advanced PCE card test • Massive load of requests from number of clients.

  18. Simple PCE Card Test Tools • Developed utility to call debug mode. • Visual Studio Debugger to give online view of all variables.

  19. Advanced PCE Card Test Tools • Developed test system which allow multithreaded load from number of clients*. • Developed link generating tool to collect link database for test system. * Code name of this system is Crawler

  20. Crawler Description • Link generating module • Receives start point URL and link call depth. • Developed on Perl. • Link load module • Receives the link database file ,number of threads to simulate. • Returns average response time. • Developed on Perl.

  21. Statistics • According to SPECWEB99 parameters for the web server testing are • Average response time per connections. • Throughput ops/sec (operation is any activity on server side).

  22. Average Response Time

  23. Throughput • Average time for pure PCE card driver is 1 millisecond. • Average time from starting PCE card request to the end of request is 15 millisecond in Apache.

  24. OS Optimization • To achieve maximum performance from operating system, was chosen Windows XP Embedded (WXE), and built operating system image especially for our needs.

  25. OS Optimization Summary • Advantages: • Significant Improvements in overall system performance. • Allow “Black box” system. • Disadvantages: • No additional Apache performance.

  26. Difficulty • PCE card driver has no support in multithreading. • Limited info returned from PCE card. • No programming documentation for Apache 2.X. • Bugs in all layers. • It was mainly research project.

  27. Proposition • Rewrite PCE card driver for native support multithreading. • For production write new model for Apache and don’t rewrite existing modules. • Custom developed proxy will be preferred.

  28. Summary • This project shows the advantages of proxy server based on PCE card, which reduce load from CPU. • The forecast is that the next generation of proxy servers will use CRC computing devices, like PCE card, in distributed model.

  29. Thank To • All people that supported us in this project • Eli Shoshan • Konstantin Sinyuk • Stas Lapchev • Artyom Borzin • Boris Kogan • ……

More Related