![Page 1: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/1.jpg)
Web Platform Performance Analysis
Prototype Acceptance Review
Team. 4
![Page 2: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/2.jpg)
Outline
Introduction:- Nipun
Application Demo:- Seok Kyu
Access to web services API:- Thiha
Load Testing:- Yousuf
![Page 3: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/3.jpg)
Introduction
Background AOL need to change its web platform to match with
the standard industry web platform.
Motivation: Reduce development and maintenance time and
cost
Sponsor: AOL
![Page 4: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/4.jpg)
Project overview
Overview: Evaluate different sets of web platform
(operating systems, web servers, databases, and web applications).
Test performance of each platform to determine the best combination ( using “OPENDEMAND” software).
![Page 5: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/5.jpg)
Prototype
Prototype platform
Client(Browser)
Web Server(Apache)
Web Services API
(Amazon)
Script(PHP)
Database(MySQL)
REST/SOAPHTTP
Prototype application : web shopping mall
![Page 6: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/6.jpg)
Demo
Try to buy a new cell phone from ECE Cell Phone web page…
![Page 7: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/7.jpg)
Prototype application
PHP
![Page 8: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/8.jpg)
Prototype elements
Apache web server configuration PHP script
set a cookie for each web browser MySQL query to store data
MySQL Database Tables Data
![Page 9: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/9.jpg)
MySQL mysql> show databases; +----------+ | Database | +----------+ | mysql | | test | | wiz | +----------+ 3 rows in set (0.00 sec)
mysql> show tables; +---------------+ | Tables_in_wiz | +---------------+ | main_shop | | pduct_info | | users | +---------------+ 4 rows in set (0.00 sec)
mysql> select * from pduct_info; +---------+-------+ | product | price | +---------+-------+ | LG | 400 | | Samsung | 600 || Nokia | 490 | +---------+-------+ 3 rows in set (0.02 sec)
mysql> select * from main_shop;+----------------------------------+--------------+----------+| session | product | quantity |+----------------------------------+--------------+----------+| 64a178a038dd09e3029460b51d2cfad4 | LG | 1 || 2263fc4b8384bacfea3051b17488dc72 | LG | 1 || 6fae68f29c8dd2f87ad9f6b17153de42 | LG | 1 || 6fae68f29c8dd2f87ad9f6b17153de42 | Samsung| 1 |
![Page 10: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/10.jpg)
Users Table
mysql> select * from users;+--------+-------+----------+----------+-------------------------+----------+------------------------------------+--------+--------------+--------------+|name | id | password | resident | email | homepage |address | zip | tel | tel2 |+--------+-------+----------+----------+-------------------------+----------+------------------------------------+--------+--------------+--------------+|yousuf | doha | fece | - | [email protected] | |1200 E. River rd. #J-133 Tucson AZ | 85718- | 520-360-6666 | 520-360-6666 |
|thiha | thiha | 12345 | - | [email protected] | |901, N. 1st ave | - | 520-626-8767 | 520-626-8767 |
|yousuf | | NULL | - | [email protected] | NULL |somewher | 85718- | 520-360-6666 | 520-360-6666|+--------+-------+----------+----------+-------------------------+----------+------------------------------------+--------+--------------+--------------+3rows in set (0.06 sec)
![Page 11: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/11.jpg)
Test Performed
Communication among each elements Accessing Amazon Web Services API with
REST and SOAP Load testing
![Page 12: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/12.jpg)
SOAP Call to Amazon function doAmazonKeywordSearchEnvelope(token,keyword){ var S='<?xml version="1.0" encoding="UTF-8"?>\n'; S+='<SOAP-ENV:Envelope'; S+=' xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"'; ……………………. S+=' <SOAP-ENV:Body>'; S+=' <namesp1:KeywordSearchRequest
xmlns:namesp1="urn:PI/DevCentral/SoapService">'; S+=' <KeywordSearchRequest xsi:type="namesp1:KeywordRequest">'; S+=' <keyword >Cell Phones</keyword>'; S+=' <page >1</page>'; S+=' <mode >Wireless</mode>'; S+=' <tag >webservices-20</tag>'; S+=' <type >lite</type>'; S+=' <devtag >04KKFRC24Q9CWCZKKN82</devtag>';
///Amazontoken//// S+=' <format >xml</format>'; S+=' <version >1.0</version>'; S+=' </KeywordSearchRequest>'; S+=' </namesp1:KeywordSearchRequest>'; S+=' </SOAP-ENV:Body>'; S+='</SOAP-ENV:Envelope>'; return S;
![Page 13: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/13.jpg)
REST example for Amazon Web Services Access
http://webservices.amazon.com/onca/xml?Service=AWSECommerceService
&SubscriptionId=04KKFRC24Q9CWCZKKN82 &Operation=ItemSearch &SearchIndex=Wireless &Keywords=Cell%20Phone &ResponseGroup=Medium&type=lite &f=http://www.u.arizona.edu/~thiha/AmaGet03.xsl
Parser from XML to HTML is XSLT (Extensible Stylesheet Language Transformations).
![Page 14: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/14.jpg)
Result Obtained
XML responseof REST callto Amazon
![Page 15: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/15.jpg)
Introduction to OpenLoad™
4 Stages to test :
![Page 16: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/16.jpg)
Introduction to OpenLoad™
Analysis Page View:
![Page 17: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/17.jpg)
Load Test Report
![Page 18: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/18.jpg)
Load Test Results
Session Time
![Page 19: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/19.jpg)
Load Test Results
Total Requests Total Responses Total Page Views Total Sessions
![Page 20: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/20.jpg)
Load Test Results
Data Throughput Data Sent Data Received
![Page 21: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/21.jpg)
Lessons Learned
Need another database that is ACID compliance (e.g. PostgreSQL)
![Page 22: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/22.jpg)
Next steps
Set up the other OS systems Test different platforms
![Page 23: Web Platform Performance Analysis Prototype Acceptance Review Team. 4](https://reader035.vdocuments.net/reader035/viewer/2022062423/56649e975503460f94b9a749/html5/thumbnails/23.jpg)
Any Questions