Web Platform Performance Analysis Final Design Presentation

obtainablerabbiΔιαχείριση Δεδομένων

31 Ιαν 2013 (πριν από 4 χρόνια και 2 μήνες)

122 εμφανίσεις

1

Web Platform
Performance Analysis

Final Design Presentation

Team 4

ECE 498B

December 6, 2004

2

Introduction


Team Members:


Thiha Kyi Min


Nipun Dahra


Seok Kyu Lee


Yousuf Al
-
Kaabi



Team Advisor:


Dr. Salim Hariri




Sponsor:


American Online (AOL)


3



Design

Process


1. Problem Formation:



Obtaining AOL platform background


Understanding AOL motivation


Forming the problem statement





2. Problem Solving:


Acquiring specifications

Researching web platform components

Identifying the desired components









3. Solution Implementation:



Setting up the selected platform components

Developing a prototype application

Benchmarking and Evaluating the platforms


4

Project Overview


Background:


AOL needs to change its web platform to match with the standard
industry web platform.




Motivation:


Reduce development and maintenance time and cost




Design:


Evaluate different sets of web platform (O.S, web servers,
databases, and web applications).



Goal:


To know how the platform choice decisions are made.



5

Design Specification


OS :


Unix/Linux



Application:



Accessible over HTTP Port 80


Use a standard web services API (Application Programming
Interface) such as REST, XML
-
RPC or SOAP


Access to another web services API via HTTP


Database access




6

Design Elements


Prototype Platform


Client
(
Browser
)
Web Server
(
Apache
)
Web Services
API
(
Amazon
)
Script
(
PHP
)
Database
(
MySQL
)
REST
/
SOAP
HTTP
Prototype application : web shopping mall

7

Research

Operating

Systems
:

Fedora

Core
2
,

Mandrake

10

WS

Access

Protocol
:
REST

Database

&

Script
:


MySQL/PHP

Web

Application
:


Web

Shopping

Mall



Operating System:

Linux [Mandrake, Red Hat (Fedora), Debian]

FreeBSD

Solaris


Database:

MySQL

Postgre SQL


Web Application:

Web Shopping Mall (PHP )

Email Application


Web Services Access Protocol

REST, XML
-
RPC, SOAP

8

Research Results


O.S Component: Red Hat Linux


Open Source


Widely used for web servers


Easy to update


Good documentation


Can cluster




Web Server Component: Apache


Support all kinds of operating system


The most popular web server



Prototype Application: Web Shopping Mall




A lot of transactions between server and clients



Fulfill specifications assigned




9

Research Results


Database Component:


MySQL


Keep high performance during heavy traffic.


Most common open
-
source database.


More Application Support compared to PostgreSQL.


Good Documentation / More Books



PostgreSQL


Open
-
source


Has transactional role back



Server Side Script: PHP


Easy to learn


Widely used with MySQL

10

Research Results


Web service Access Protocol:



REST


Simple interface


Scalable


80% of Amazon Web Serivces API access


Evolve from academic research



XML
-
RPC


Does not have as much industry support as SOAP



SOAP


More complicated


Might offer more security features



RESTful SOAP ?

11

Hardware


(4) server machines on the test bed


(1) client machine


12

Hardware Details

Processor

Speed

RAM

Hard Drive

No. of machine

Purpose

Dual Xeon

2.7GHz

1GB

160GB

1

Server

Celeron

320MB

10GB

4

Server/Client

Pentium 4

2.0GHz

640MB

40GB

1

Server/Client

Pentium III

1.2GHz

256MB

30GB

1

Server/Client

Pentium II

300MHz

96MB

4GB

1

Client

13

Software Details

Component

Name

Version

Operating System

Red Hat (Fedora) Linux

Mandrake Linux

Core 2

10.0

Web Server

Apache

2.0

Server Side Script

PHP

4.3.8

Database

MySQL

3.23

Web Services API

Amazon (REST, SOAP)

4.0

XSTL (XML to HTML
Parser)

Xalan
-
Java

2.6.0

14

Prototype Application

15

Load Testing Software

16

Load Test Results:



Mandrake 10.0

Fedora Core2 Red Hat


% Performance

98.1208%

97.5577%


% Availability

97.4335%

98.5099%


% Reliability

100.0000%

100.0000%

Page Time Distribution:






% Page Time <= 4s

97.99%

97.56%


4s < % Page Time <= 8s

0.13%

0.00%


8s < % Page Time <= 12s

0.00%

0.00%


% Page Time > 12s

1.88%

2.44%

Test Run Statistics:






Total Virtual Users

50

50


Total Sessions

200

200


Total Page Views

745

737


Total Requests

1091

1208


Total Responses

1063

1190


Hits per sec

1.60

1.80


Returns per sec

1.55

1.77

17

Peformance Report

18

Scalability Report

19

Capacity Report

20

Recommendation


Open Source Web Platform:


Red Hat Linux


Apache Web Server


MySQL Database / PHP Script


REST web services access protocol




ACID compliant database


For critical data