Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web Platform Performance Analysis Prototype Acceptance Review Team. 4.

Similar presentations


Presentation on theme: "Web Platform Performance Analysis Prototype Acceptance Review Team. 4."— Presentation transcript:

1 Web Platform Performance Analysis Prototype Acceptance Review Team. 4

2 Outline Introduction:- Nipun Application Demo:- Seok Kyu Access to web services API:- Thiha Load Testing:- Yousuf

3 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

4 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).

5 Prototype Prototype platform Prototype application : web shopping mall

6 Demo Try to buy a new cell phone from ECE Cell Phone web page…ECE Cell Phone

7 Prototype application PHP

8 Prototype elements Apache web server configuration PHP script  set a cookie for each web browser  MySQL query to store data MySQL  Database  Tables  Data

9 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 |

10 Users Table mysql> select * from users; +--------+-------+----------+----------+-------------------------+----------+------------------------------------+--- -----+--------------+--------------+| name | id | password | resident | email | homepage | address | zip | tel | tel2 |+--------+-------+----------+----------+-------------------------+----------+------------------------------------+-- ------+--------------+--------------+| yousuf | doha | fece | - | doha@email.arizona.edu | | 1200 E. River rd. #J-133 Tucson AZ | 85718- | 520-360-6666 | 520-360-6666 | | thiha | thiha | 12345 | - | thiha@email.arizona.edu | | 901, N. 1st ave | - | 520-626-8767 | 520-626-8767 | | yousuf | | NULL | - | doha@email.arizona.edu | NULL | somewher | 85718- | 520-360-6666 | 520-360-6666 |+--------+-------+----------+----------+-------------------------+----------+------------------------------------+-- ------+--------------+--------------+3 rows in set (0.06 sec)

11 Test Performed Communication among each elements Accessing Amazon Web Services API with REST and SOAP Load testing

12 SOAP Call to Amazon function doAmazonKeywordSearchEnvelope(token,keyword){ var S=' \n'; S+='<SOAP-ENV:Envelope'; S+=' xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"'; ……………………. S+=' '; S+=' Cell Phones '; S+=' 1 '; S+=' Wireless '; S+=' webservices-20 '; S+=' lite '; S+=' 04KKFRC24Q9CWCZKKN82 '; ///Amazontoken//// S+=' xml '; S+=' 1.0 '; S+=' '; return S;

13 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 Transform ations).

14 Result Obtained XML response of REST call to Amazon

15 Introduction to OpenLoad™ 4 Stages to test :

16 Introduction to OpenLoad™ Analysis Page View:

17 Load Test Report

18 Load Test Results Session Time

19 Load Test Results Total Requests Total Responses Total Page Views Total Sessions

20 Load Test Results Data Throughput Data Sent Data Received

21 Lessons Learned Need another database that is ACID compliance (e.g. PostgreSQL)

22 Next steps Set up the other OS systems Test different platforms

23 Any Questions


Download ppt "Web Platform Performance Analysis Prototype Acceptance Review Team. 4."

Similar presentations


Ads by Google