1 / 12

CSE 190: Internet E-Commerce

Explore the four dimensions of performance in e-commerce, including CPU usage, disk I/O, memory usage, and network usage. Learn about DNS and application load balancing, proxy servers, and scalability options.

leons
Download Presentation

CSE 190: Internet E-Commerce

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSE 190: Internet E-Commerce Lecture 16: Performance

  2. Performance Parameters • Four dimensions of performance • CPU Usage • Issue for app server, DB • Disk I/O • Issue for DB, video streaming • Memory Usage • Network Usage • Reflected in cost • Each may be a bottleneck depending on the application

  3. Network Speeds(What do all these names mean?) For comparison:

  4. Effect of Architecture • Small # of servers (Concentrated) • Availability under high load • Vulnerability to attack • Cost/unit performance is lower • Distributed architecture • DNS load balancing • Application load balancing • Capacity upgrades require smaller investment

  5. DNS Load Balancing • DNS Load Balancing • When address of web server is resolved, it may return any of N IP addresses associated with it • Yahoo Example • Reference: Figure 7.2, page 188, “Web Servers” by Benay Dara et al. • HTTP Requests distributed over a farm of servers. • Content mirrored at each server • Server A gets first request, server B gets second, server C gets third, etc.

  6. Application Load Balancing • HTTP Requests sent to the least busy server • NOT distributed in a linear fashion • All servers kept equally busy • Reference: Figure 7.3, page 189, “Web Servers” by Benay Dara et al. • Bridge acts as virtual server to requesting browsers/clients. • More complex monitoring => may go awry

  7. No Affinity Client IP Affinity Request Forwarding Multiple Web Farms State And Server Affinity

  8. Proxy Servers • Proxy, cache, and mirror techniques: for improving web performance • reduce latency of access to most frequently accessed web documents • Reduce network bandwidth congestion • Increase security of electronic services • Proxies provide web gateway on private networks • Configurable within browser (e.g. in IE, Tools | Options | Connections) • Reference: Figure 7.4, page 189, “Web Servers” by Benay Dara et al.

  9. Proxy servers • Proxy servers run on Firewalls. • Handle both incoming and outgoing web requests. • Hide IP addresses of requesting clients • Handle NAT – Network address translation • Advantages: • Access control of web sites by employees of an organization. • Selective blocking of protocols such ftp. • Cache relayed responses for performance. • Cache problem: how current is the data • Products: • Apache with proxy configuration • MS ISA Server (previously MS Proxy Server)

  10. Scalability THE BIG CHOICE Distributed (e.g., Yahoo!, Google, Yodlee) vs. Concentrated (many e-commerce sites)

  11. Scalability Stateless (vs Stateful systems) Application Level Load Balancers (vs. Network level)

  12. Performance Elements of Performance • Throughput (affecting scalability) • Response Time (affecting user experience) Elements of Response Time • HTML Rendering • Network download speed • Application processing time • Database performance • Queues (web server, application server, network level) Elements of Throughput • Application processing time • Database performance

More Related