Vous êtes sur la page 1sur 18

Intelligent Proxy Server

in TANET/TWAREN
National Chi Nan University
Ya‐Ling Wang,
Ying‐Chieh Chang, 
Quincy Wu
Chinese paper published in ITIA 2010.
Introduction
• The choice of web proxy servers
• The best proxy server?
• Priori speed tests
• The fastest proxy server
• Experimental result : Better

2010/07/10 NCNU YaLing, Wang 2


Default Proxy Server
TANET Foreign sites
TANET
ProxyTANET
Server
Proxy Server

TANET
TANET 線路

TWAREN
USER TWAREN
TWAREN 線路 TWAREN
TWAREN
Proxy
Proxy Server
Server

.edu .org .gov .jp .cn .hk .vn


NCNU
NCNU .th .kr .in .my .ph .sg .ca .nz
Proxy
Proxy Server
Server

2010/07/10 NCNU YaLing, Wang 3


Intelligent Proxy Server

TANET
Proxy Server

USER

NCNU
TWAREN
Proxy Server
Proxy Server

2010/07/10 NCNU YaLing, Wang 4


System Components 
• CentOS 5.4 – Linux operating system
• Squid version 3.1 – http proxy server
• Report generator
– Webalizer
– Sarg
• Upstream proxy server
– TWAREN : proxy1.twaren.net
– TANET : proxy.moe.edu.tw

2010/07/10 NCNU YaLing, Wang 5


Data Collection Process 
Start
root crontab:
Perform the test at 4AM in 
For each URL in  every morning
the access log The squid access.log contains 
recently used URLs
Extract the hostname part
Download a file from the host
Perform the speed test

Depending on which proxy server provides 
the fastest service, save the hostname in  Each site will be stored in the 
1.   list.twaren fastest proxy server list. 
2.   list.tanet  There are three proxy servers, 
3.   list.ncnu so at the end we shall have 
three lists.

2010/07/10 NCNU YaLing, Wang 6


Data Collection Process 

Remove the hostname from 
YES
other lists if it is in  those lists
Delete this host from 
NO
other lists

Get a site from the list of a proxy 
server, the new rules will be the 
fastest, to merge with the 
original profile.
Merge squid.conf file
You can do reload later.
End

2010/07/10 NCNU YaLing, Wang 7


Data Collection Process 

TWAREN proxy server list

Yesterday

www.google.com NCNU proxy server list

Today
www.google.com TANET proxy server list

2010/07/10 NCNU YaLing, Wang 8


Data Collection Process 

B2010/07/10 NCNU YaLing, Wang 9


Data Collection Process 

NCNU proxy server list


B TANET proxy server list Squid Config

TWAREN proxy server list

2010/07/10 NCNU YaLing, Wang 10


Experimental Results 
NCNU school inflows rankings

2010/07/10 NCNU YaLing, Wang 11


Experimental Results 

Date:2010/05/07
3191
2010/07/10 NCNU YaLing, Wang 12
Experimental Results 

Date:2010/05/11
157
2010/07/10 NCNU YaLing, Wang 13
Conclusion
• More User
• More Webpages
• More Accurate
• More Upstream Proxy Server
→ Automatic, Learning, Intelligent Proxy Server

2010/07/10 NCNU YaLing, Wang 14


Future Work
• Re‐use the perfSONAR system on Internet2 for 
bandwidth measurement. 
• Re‐use network routing table to choose the 
“shortest” path.

2010/07/10 NCNU YaLing, Wang 15


Any Question?

END
Thanks for your listening

2010/07/10 NCNU YaLing, Wang 16


Measurement Tools 
• http_ping –proxy ServerName:Port URL

2010/07/10 NCNU YaLing, Wang 17


Measurement Tools
• Useful options
– http_ping –proxy ServerName:Port
– http_ping –count Number of retries
• Commands in our experiments

2010/07/10 NCNU YaLing, Wang 18

Vous aimerez peut-être aussi