Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer...

18
rk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering . Chulalongkorn University.

Transcript of Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer...

Page 1: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

Advance Net-Centric Computing Technology

Krerk Piromsopa.

Department of Computer Engineering.

Chulalongkorn University.

Page 2: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

Issue

• Load-Balancing / Fault-Tolerant

• Web Caching

• Content Delivery

• Grid

• Performance– SpecWeb99

– TPC

Page 3: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

Load Balancing Web Server

• The DNS Approach

• The Reverse Proxy Approach

• Server Processes

Page 4: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

Reverse Proxy Approach

Page 5: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

Cache

Page 6: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

Proxy Network

Page 7: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

Content Delivery

Page 8: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

Akamai (flash crowns performance)

Page 9: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

Akamai (consistent site)

Page 10: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

Content Delivery Network

A CDN is a service offered by a service provider, either an established one (such as AT&T) or a CDN-only provider. Fundamentally, a CDN maintains multiple locations with copies of the same content, and uses information about the user and the content requested to “route” the user to the most appropriate site. The customers of a CDN will be companies that wish to offer their content to a geographically distributed, potentially large, audience.

Page 11: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

CDN:Architecture

Page 12: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

CDN

Page 13: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

CDN: Content Routing

• Redirection– Global Redirection – DNS

– Local Redirection – Layer/4-7 Switching

– Local Redirection – WCCP

• Metrics for Redirection– Network proximity

– Geographical proximity

– Response time

– User type

– Server load

Page 14: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

Grid

• Grid is a type of parallel and distributed system that enables the sharing, selection, and aggregation of resources distributed across "multiple" administrative domains based on their (resources) availability, capability, performance, cost, and users' quality-of-service requirements.

Page 15: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

SpecWeb99

• SPECweb99 represents a standardized benchmark for measuring web server performance. Building upon the success of SPECweb96, SPECweb99 provides users an objective measure allowing users to make fair comparisons between results from a wide range of systems.

Page 16: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

SpecWeb99 Flow DiagramStatic GET 70%

Standard Dynamic GET 12.45%

Standard Dynamic GET (CGI) 0.15%

Customized Dynamic GET 12.6%

Dynamic POST 4.8%

Total 100%

See result at :

http://www.specbench.org/osg/web99/results/web99.html

Page 17: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

TPC

• TPC Benchmark? W (TPC-W) is a transactional web benchmark. The workload is performed in a controlled internet commerce environment that simulates the activities of a business oriented transactional web server. The workload exercises a breadth of system components associated with such environments, which are characterized by:

– Multiple on-line browser sessions

– Dynamic page generation with database access and update

– Consistent web objects

– The simultaneous execution of multiple transaction types that span a breadth of complexity

– On-line transaction execution modes

– Databases consisting of many tables with a wide variety of sizes, Attributes, and relationships

– Transaction integrity (ACID properties)

– Contention on data access and update

Page 18: Krerk Piromsopa. Advance Net-Centric Computing Technology Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.

Krerk Piromsopa.

Reference

• Ralf S. Engelschall, “Load Balancing Your Web Site ,” http://www.webtechniques.com/archives/1998/05/engelschall/

• “Why Performance Matters,” http://www.akamai.com/

• Matthew Liste, Thrupoint, “Content Delivery Networks (CDNs) – A Reference Guide,”http://www.ciscoworldmagazine.com/

• “Grid Computing Info Centre (GRID Infoware),” http://www.gridcomputing.com/

• “SpecWeb99,” http://www.spec.org/osg/web99/

• “TPC-W,” Transaction Processing Performance Council, http://www.tpc.org/tpcw/default.asp