160 likes | 481 Views
Weekly Research Activity 2004-06-25 Chul Lee Agenda Session migration L7-based contents distribution: Bin-packing problem CORE-Web Server Administration GUI Evaluation plan SANfs L7 dispatcher Overall system Problem description In case of arbitrary long sessions,
E N D
Weekly Research Activity 2004-06-25 Chul Lee Computer Engineering Research Laboratory, EECS, KAIST
Agenda • Session migration • L7-based contents distribution: • Bin-packing problem • CORE-Web Server Administration GUI • Evaluation plan • SANfs • L7 dispatcher • Overall system Computer Engineering Research Laboratory, EECS, KAIST
Problem description • In case of arbitrary long sessions, • Large file download, real time streaming, state-full sessions • When the backend real servers should be reallocated, gradual reallocation or session migration is needed. • Difference from high-availability • Requires light-weight and low-overhead technique is needed. Computer Engineering Research Laboratory, EECS, KAIST
Dispatcher Session table HTTP Routing table TCP IP-address IP Session Resumption Client’s browser Real Server Shopping Cart HTTP HTTP TCP TCP IP IP Sync Real Server HTTP TCP Session fail-over Session migration IP Computer Engineering Research Laboratory, EECS, KAIST
Dispatcher/Proxy Session table FTP Routing table TCP IP-address IP FTP Session Migration Client’s browser Real Server FTP FTP TCP TCP IP IP Real Server URL & Range request From XX bytes FTP TCP Session fail-over Session migration Proxy stores session information IP Computer Engineering Research Laboratory, EECS, KAIST
Dispatcher/Proxy Session table HTTP Routing table TCP IP-address IP Streaming Session Migration Client’s browser Real Server HTTP HTTP TCP TCP IP IP Real Server URL HTTP Proxy stores session information TCP Session fail-over Session migration IP Computer Engineering Research Laboratory, EECS, KAIST
large HTTP size TCP IP small static Update freq. dynamic Conclusion • Low overhead techniques • Application level state preserving • Proxy-based seamless session migration • To augment a migration module to the current CBWS Characteristic of state information Computer Engineering Research Laboratory, EECS, KAIST
Our Solutions • Rewriting application (server/client) • Download manager • Server’s state migration • Apache Web server plug-in • Application-independent • Connection migration • Also needs soft-state synchronization Computer Engineering Research Laboratory, EECS, KAIST
references • http://www.sbg.ac.at/docu/man/oracle/9i/appdev.901/a89857/oci08sca.htm • http://edocs.bea.com/wls/docs81/cluster/failover.html • http://lvs.idk.com.pl/Joseph.Mack/HOWTO/LVS-HOWTO-6.html#persistent_connection • http://lvs.idk.com.pl/Joseph.Mack/HOWTO/LVS-HOWTO-21.html#ss21.2 • http://www.squid-cache.org/ • http://tdrwww.exp-math.uni-essen.de/dreibholz/rserpool/ • https://www.atg.com/repositories/ContentCatalogRepository_en/manuals/Dynamo3.5.1/admin/admin0501.html Computer Engineering Research Laboratory, EECS, KAIST
Contents distribution Dispatcher Clients Clients Clients Real Servers Computer Engineering Research Laboratory, EECS, KAIST
Contents distribution • Problem description Bin packing problem Ref: http://www.cs.arizona.edu/icon/oddsends/bpack/bpack.htm http://wwweng.murdoch.edu.au/EngModules/m108demo/Section01/Section0102c.html Hash Function Dispatcher abcd Computer Engineering Research Laboratory, EECS, KAIST
10% 10% 10% 10% 10% 10% 10% 10% 10% 10% 10% 10% 10% 10% 10% CORE-Web Server: CPU Load meter 1 2 3 4 90% 5 6 7 8 9 10 11 12 13 14 15 16 Computer Engineering Research Laboratory, EECS, KAIST
CORE-Web Server: Load History Load 22:10 17 June 2004 22:20 17 June 2004 22:30 17 June 2004 22:40 17 June 2004 22:00 17 June 2004 Time Computer Engineering Research Laboratory, EECS, KAIST
CORE-Web Server: Logical Layout MySQL Apache KID Apache Apache Apache Apache Computer Engineering Research Laboratory, EECS, KAIST
Questions to be answered • SANfs • What is the most cost-effective configuration? (For transferring bulk data using FTP) (For streaming video file using HTTP) (For reading and writing small data using HTTP, BBS) • Dispatcher • How many real servers can be attached?(Scalability) • How much does TCP hand-off enhance the scalability? • Does the Layer 7 switch increase the cache hit and the overall performance? Computer Engineering Research Laboratory, EECS, KAIST
Evaluation of CORE-Web • SANfs evaluation • Hosts:Disks = ?:? • For the most cost-effective setting With 1 disk ? Throughput 1 2 3 4 Number of nodes Computer Engineering Research Laboratory, EECS, KAIST