Reflecting Proxies Mini != Small Jon Babbage Tony Lambert Michael Malinak Paul Middlin CSE870 Advanced Software Engineering, Spring 2001 Instructor: Dr. B. Cheng
Overview Reflecting Proxies Description Framework Overview Sample Application Highlights Demo Q&A
Reflecting Proxies Intermediate in network connection Client connects to proxy on given port Proxy connects to specified server Proxy may log, echo, or modify data as needed Proxy may implement other functions Load Balancing Connection Limiting
Multi => Single
Multi => Multi
Load Balancing
Framework Overview
Framework Five Statistics 4925 Lines of Code 13 Classes 9 Interfaces
Framework Five (cont) Features Parsing Configuration File Standard Forwarding Logging Echoing Load Balancing Connection Limiting
Example Configuration File Conn0: 1000 b mulder 23 scully 23 Conn1: 1200 cesoid.com Conn2: 1100 L 2 cesoid.com
Logging/Echoing Logging/Echoing to files and/or screen Created formatting structure to allow for customized output %LI – Local IP %RM – Remote Machine Name %D – Date Formatting Conforms to Java SimpleDateFormat
Load Balancing Forward connection to one of many possible hosts Use of Strategy Pattern Random Balance Strategy Round Robin Balance Strategy User can define additional using BalanceStrategy Interface
Connection Limiting Limit connections to a given host Specify on a per port basis
Framework Presentation Time to see it in action…
Q&A Feel free to ask questions.