Presentation on theme: "Client side performance in Web based Banking applications Divakar Prabhu Infosys Limited (NASDAQ: INFY)"— Presentation transcript:
Client side performance in Web based Banking applications Divakar Prabhu Infosys Limited (NASDAQ: INFY)
Abstract (cont..) Regardless of the technology used, using tools for testing the client side performance is a good practice that can be used to track the HTTP traffic to isolate bottlenecks. HttpWatch, Fiddler and Y Slow are some tools available to name a few. This paper focuses on the importance of Client side Performance and describes some of the approaches available for optimizing the code to ensure better user experiences. It also describes some of the tools available in the market for analysing and testing the client side performance. 3
Importance of Client Side Performance Web page GET http://www.amazon.com/ GET Request to server Images-gifs Tables Text Style sheets Table contents Java script GET
Importance of Client side performance Client side optimizations give better returns 5 Time taken for the HTML page to download for a trading portal is only 4.6s whereas the total time for the page to download was 38.72s.
Importance of Client side performance (Cont’d) Web Caching doesn’t always improve performance Caching seldom works the way it is designed Business Benefits Improves customer perception of the Web application and better marketing of the products Users Perception of Response time End user response time is the time taken to display the whole page 6
Importance of Client side performance (Cont’d) Increasing use of 3rd Party contents in Banking Applications 3 rd party content in Web applications will cause adverse impact to performance. 7
Challenges in measuring Client Side Response Modern Web applications are more dynamic than the traditional Web applications and allow developers to leverage the browsers or client as application development platforms. Browser dependent behavior Communication- Async and Synchronous Limited connection issue in Browsers 8
Client side Performance Testing Requirement Analysis checklist Specific questions that can be asked to End User Community (Business) and Architect during NFR collection are as follows What technologies will be used in the presentation layer? What are the different 3rd party content used for news, market data or tickers? What is the maximum acceptable response time for the pages? What is the size of web page content? Will the page be accessed by mobile devices? What are the different browsers that will be used? What are the pages that are heavy or important from business stand point? What are the pages that refresh frequently? What is the caching logic used? 10
Client side Performance Testing (Contd) Tools available to test the client side performance HTTPWatch- A network traffic monitoring tool which is used by various organizations as industry standard to fine tune their Web applications Fiddler- A web debugging tool that analyzes the background communication that goes between browser and the servers by logging all the ongoing traffic in a session Yslow- Open source tool that works with Firebug, a Firefox add-on, analyzes the web pages and suggests ways to improve the performance. 11
Best Practices and optimizations to be Used during development (Contd) HTTP Requests Ensure that only valid requests are sent to the server. HTTP requests can be sent in parallel rather than in sequence Redirections should be avoided because each redirect will result in increase of time of the request due to standard operations CSS CSS should be made external to since it can be downloaded the first time and cached for later usage. CSS reference should be at top of the web page, HTML rendering engine that interprets the CSS is called first. CSS circular references or duplicate references should be avoided CSS file size should be as small as possible since it impacts the speed at which the page loads. Distributed Content Files CDNs can be used to deliver both static and dynamic web pages and can be one of the best ways to optimize performance. 13
Conclusion In addition to the load testing tools that are currently being used to determine Server side response time, Client side performance testing tools can also be used. Most of the tools mentioned in the paper are freeware and can easily be downloaded and used in the projects. Following good practices during development and diligent testing of Client Side parameters can go a long way in improving the performance of the web pages and consequent user experience. 14
Your consent to our cookies if you continue to use this website.