Download presentation
Presentation is loading. Please wait.
Published byBranden Butler Modified over 9 years ago
1
Reflecting Proxies Mini != Small Jon Babbage Tony Lambert Michael Malinak Paul Middlin CSE870 Advanced Software Engineering, Spring 2001 Instructor: Dr. B. Cheng
2
Overview Reflecting Proxies Description Framework Overview Sample Application Highlights Demo Q&A
3
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
4
Multi => Single
5
Multi => Multi
6
Load Balancing
7
Framework Overview
8
Framework Five Statistics 4925 Lines of Code 13 Classes 9 Interfaces
9
Framework Five (cont) Features Parsing Configuration File Standard Forwarding Logging Echoing Load Balancing Connection Limiting
10
Example Configuration File Conn0: 1000 b 1 2 2 mulder 23 scully 23 Conn1: 1200 cesoid.com 23 2 2 Conn2: 1100 L 2 cesoid.com 23 0 0
11
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
12
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
13
Connection Limiting Limit connections to a given host Specify on a per port basis
14
Framework Presentation Time to see it in action…
15
Q&A Feel free to ask questions.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.