1 / 23

Web Platform Performance Analysis

Web Platform Performance Analysis. Prototype Acceptance Review Team. 4. Outline . Introduction:- Nipun Application Demo:- Seok Kyu Access to web services API:- Thiha Load Testing:- Yousuf. Introduction. Background

cowella
Download Presentation

Web Platform Performance Analysis

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. 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…

  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> select * from pduct_info; • +---------+-------+ • | product | price | • +---------+-------+ • | LG | 400 | • | Samsung | 600 | • | Nokia | 490 | • +---------+-------+ • 3 rows in set (0.02 sec) • 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 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|+--------+-------+----------+----------+-------------------------+----------+------------------------------------+--------+--------------+--------------+3rows 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='<?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;

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

  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

More Related