CSE 135 Server Side Web Languages Lecture # 12. Web Performance Notes

Size: px
Start display at page:

Download "CSE 135 Server Side Web Languages Lecture # 12. Web Performance Notes"

Transcription

1 Web Performance Notes

2 Core Ideas Given the trade-off of server side we really need to think about time, but interestingly most gains come on client side! To a user time passed matters not bytes sent There is a difference between perceived time and actual time Page paint time matter Amount of screen refresh matters Frames, Emphasis on reflows in HTML/CSS parse How the screen refreshes matters All at once vs. incrementally Application pacing matters Preloaders, travel search, etc.

3 Core Ideas To some Web owners bytes sent may matter quite a bit as well because of cost. Obviously cost is bandwidth How much does 50K cost nothing How much does 50K * thousands of customers cost maybe something? Note the design focus of e-commerce sites, $ and bytes in content not in navigation Heavy pages don t just cause bandwidth they may cost hardware in terms of scalability, servers can t be done with a connection as quick thus you will need more of them more quickly

4 Speed is not just a simple case of bytes

5 Core Idea Golden Rule Golden Rule of Optimization Less data, less often and close by! Send as little as you need to as infrequently as you need to if you want to go faster Example: compression -> little to send Example: caching -> less frequent requests Close by reduce latency by traveling less distance

6 Scale!= Speed Adding more servers doesn t make a site faster Scaling does not mean faster unless things are overloaded If a server is overloaded by offloading it, it may appear to go faster but in that sense the server was not operating at optimal efficiency Do you know the tolerance of a server, connection, etc.? Number of concurrent connections it could handle, amount of traffic before the pipe is saturated, etc.

7 Latency Your Real Enemy Upgrading 5-10mbps gets only about 5% load time improvement! -20ms roundtrip time = linear load time improvement Bandwidth and latency better know what each mean!

8 Simple (Re)view to Think about Optimization <----Network----> User Agent of some sort HTTP Request HTTP Response Web Server Hardware & Software Server Side programming technology Backend System (e.g. Database) Apache, IIS, Zeus, etc. CGI Apache Module, ISAPI Scripting Tech (PHP)

9 But Steve Souders (and others) have stated that 80-90%* of your user-response time is client-side Start there most gains Simple to do Easy to measure Shouldn t this be in client-side class? Yes but many aspects have to be performed upon delivery

10 Optimizations Step by Step

11 Web Overview: Steps 1 & 2 The Request

12 Web Overview: Steps 1 & 2 Issues Main challenge is DNS which is both fragile and robust Don t skimp on DNS servers Consider DNS replication or managed services UltraDNS ( Consider using shortened and contingency names to help users Forget the www Minimal domains (e.g ~ pint.com) Contingency hosts w, ww, wwww All pretty much free just DNS entries Contingency domains Expanded out: powellinternet.com Products and brands: Typos: Misspells: Forgot the perioud: wwwpint.com (new domain in minimal form)

13 Web Overview: Step 3 Transmit Request

14 Step 3 Notes To improve this step reduce travel time close the gap closer à less hops, less distance geographical/network geographical sensitivity implies edge servers a la CDNs (content distribution network) Getting beer at the ball park example Reduce the request size make payload smaller; analyze payload no savings here as request is small, response though will be large Increase bandwidth? Not really helpful 10k on a T3 vs 10k on a T1!?

15 Step 4: Processing Response

16 Step 4 Issues Bottleneck: Server Capacity Can the server take my request? No too busy right now -Not enough capacity or incoming bandwidth hardware/software flash traffic too many requests holding requests open too long (many slow downloaders) taking too long to fulfill requests» processing time of request are significant Throw bandwidth and hardware at the problem

17 Step 4 Solution 1

18 Step 4 Solution 2

19 Server Capacity Notes Simple solution of DNS round-robin is often used for sites with only a few servers While easy to set up, it has cons Sub-optimal distribution of traffic across the servers Does not deal well with hung servers To improve the situation you can create a cluster using software or hardware Hardware often makes more sense (except cost) Many intelligent switch/loadbalancer vendors (Foundry, F5, Cisco, Radware, etc.)

20 Server Capacity Notes A load balancer will distribute load across a server farm based upon metrics such as least busy, most available, closest network wise, fastest response, etc. While you may not be able to afford a load balancer you can segment server traffic as well Consider a machine like images.pint.com to handle your image traffic, store.pint.com to handle your SSL traffic, and so on. Then by just using your links and changing HTML you will distribute some load around This particular approach with images actually may have a benefit in user download speed as well since browsers will open new connections to the other domain and parallelize your requests a bit better

21 Step 4 Solution 2 Redux

22 Server Capacity Contd. Can the server take my request now? Yes but -Response is still slow! Static content» disk problems» disk to network copy delays Get a faster disk drive Most Web servers are not CPU bound they are disk and network bound Best solution is memory caching but that does cost money

23 Server Capacity Contd. Can the server take my request now? Yes but -Dynamic content problems Generation times It does take time to build a page on the fly and if you are doing a lot of this your box may be CPU bound A significant problem here is the so called static dynamic in most sites is the same page regardless of the users yet it is been rebuilt every single visit to the site which costs time and CPU resources Solution: self-generate content into HTML Solution: use a reverse proxy cache

24 Step 4 Solution Contd.

25 Step 4 Solution Cache Issues Note the similarity between interpretation and compilation problems with coding in the caching solution A cache functions by responding to requests for Web objects. If the object requested is unknown, it is fetched from the origin server; if it has been fetched recently, the request is served from the cache. What you can t put into a proxy cache easily: Extremely dynamic content particularly personalized content You can do it and recode pages to let the proxy know what is cacheable and what is not, but the work involved may be significant. This problem also plagues CDNs see later slide

26 Step 4 Solution Connection Offload Many sites get network bound since they cannot let go of a connection until the last ACK packet is back from the user Given the mix of fast and slow users you may find that a box will get saturated sooner that it should Solution: network stack tuning Solution: TCP termination at the Load Balancer Terminating and muxing the connections gives the servers orderly workloads to handle Add in the overhead of crypto (SSL) and you really want to offload to a server with a special card or have SSL decryption in your terminating device

27 On to the real problem Once the request has been processed either by the server or a cache and is ready to be sent, you hit the real trouble spot in the process result delivery

28 Step 6: Returning the Data

29 Payload Issues The return is composed of headers and data The bulk of the payload is of course the data of a Web page which is composed of two types of components Text Binary HTML/XHTML/XML Images (GIF, JPEG, PNG) CSS Animations JavaScript (Animated GIFs, Flash, Shockwave) Video Audio PDF Downloads (.exe,.zip, )

30 Addressing Payload Issues Once again our network Aware Web Development Mantra Send less, less often Reduce content sent Do you really need that image, Flash splash page, etc. Cool design may = more money in delivery The fallacy of flat bandwidth rates Incremental bandwidth costs Real world examples: goodbye graphic rollovers, CSS oriented design, advertisements as a higher % of byte payload

31 Addressing Payload Issues Contd. Compress images properly Beware of decompression time with large physical dimension images. Paint delay may far outweigh delivery savings. Don t be packet stupid The envelope holds a basic min. amount about 1K making it smaller doesn t help! Designers beware that some acceleration devices will recompress your images, sorry to say what you do may not make it to the end user the way you intended.

32 Addressing Payload Issues Contd. Crunch HTML Who needs white space, comments, etc? Some types of <meta> is wasted Color remap #ff0000 -> red In some cases other way: name -> hex Entity remap -> In some cases the other way as well Most changes would not hurt search engines, users, etc. Most of these byte shaves have to be done automatically to be of value but they add up I am anti-view source!? (for many reasons)

33 Addressing Payload Issues Contd. Crunch CSS Same whitespace and comment issues as HTML You can also use shorter id and classnames.p1 instead of.paragraph1 or.tc instead of.tablecell This should be done automatically because of readability Color condensing #FF0000 can become #f00 Rule condensing Short hand rules background not background-image Rule rewriting to take advantage or repetition

34 Addressing Payload Issues Contd. Crunch JavaScript Same whitespace and comment issues as HTML & CSS Variable and function renaming can produce significant savings function validation() becomes function v() or similar Some basic dead code elimination Semi-colon removal in some places Object remapping var d= document; d.write(); d.write(); etc. Script roll up would be very useful and would also reduce a request <script src= one.js >, <script src= two.js > becomes <script src= three.js > Most web sites the separate JS files is a developer value not delivery value Code for development, prepare for delivery

35 Addressing Payload Issues Contd. URL and Filename optimatizations Index file removal <a href= products/index.html > becomes <a href= products/ > Issue with having a Web server around during development Dependent file renaming instead of <img src= bnrolloveron.gif > remap to <img src= b.gif > Path reduction Instead of paths like../../images/logo.gif remap to /i/logo.gif or better yet /i/l.gif Saves huge amounts of space file wise since the names are often repeated all over the place User never types in so no hurt there, some obfuscation benefit as well

36 Addressing Payload Issues Contd. Source optimization of (X)HTML actually can be more beneficial than it would seem because it tends to be the root document from which future requests are made Slow it down and you add small additions to everything else Do not confuse source optimization with obfuscation, they have different goals Unless you are a massive traffic site you should do these types of optimizations automatically using a tool like w3compiler.com otherwise it just isn t worth the effort most of the time. With Web programming Develop for maintenance, but prepare for delivery Other aspects of a site like PDF and Flash can be compressed with tools but I have been placing focus on that which is most commonly used.

37 HTTP Compression Transparent and harmless given that browsers send an acceptencoding header to negotiate this Some of the biggest sites use this Google, Amazon, etc. Only works on text formats: HTML, CSS, JS, PDF, and some Office formats Savings as high as 70% Implementations: Apache: mod_gzip IIS: httpzip or use an appliance like a Redline Will use CPU cycles to do this, but your server isn t doing much It does increase the Time to First Byte (TTFB) but significantly decreases the Time to Last Byte (TTLB) Latency issue with compression (LAN vs dial-up value) Saves bandwidth no matter what Be careful with the hit or recompressing dynamic content

38 Addressing Payload Issues Contd. - Caching Why do you keep sending me that logo?! Signed your browser 304 not modified and network chatter issues Control the cache and download only what you need and when you need it JS and CSS is in page is not so good, linked with good cache control headers is much better Unfortunately little control is possible unless we design for it in the first place Design a cache control policy : when do things expire? Consider organizing your site to help this /images/cached Note: Caching and compression address different things and can sometimes be in conflict.

39 Addressing Payload Issues Contd. - Caching The danger of a stale cache The browser or some intermediary is holding my image until next Tuesday and I really need to update it! Solution: Rename the object <img src= logo.gif > becomes <img src= logo1.gif > Lots of work, but easy in CMS systems Watch out with caching your base documents then! Fineground has an interesting automatic caching policy generation technique Some browsers can cut corners though and this can cause you trouble

40 Addressing Payload Issues Contd. Exotic Stuff Delta encoding Notice that most pages have similar structures and sometimes even content Why do we keep sending the same html tags, tables, etc.? You don t have to you could send a base page and then send only the differences from page to page Read about the idea here: deltaencoding/intro/ Some AFE (Application Front End) appliances implements this using a proxy and JavaScript and it produces amazing results though it is obviously more dangerous than other solutions

41 Still having troubles You can do all this and still have a slow site, at least to some users Point source web serving will always have latency problems You could set up multiple Web farms around the world and then perform global load balancing between them Redirection choices based upon server availability, network distance, geography or some mixture of these metrics The downside to multiple farms is of course increased data center and hardware costs

42 Global Web Farm Idea

43 Solving the Latency Issue: CDNs Because hardware and co-location costs go way up, some people use CDN services. CDNs replicate and move content to the edge of the network improving reliability, scalability, and performance. In order to redirect an edge cache DNS must be modified or use special URLs used [e.g. ARL] Obviously the second takes more effort, but may allow for more flexibility in caching decisions.

44 CDN Solution Move content to network edge caches

45 Edge Server Example Old Akamai Approach

46 Implications of CDN Besides Cost Even with CDN you still have last mile issues which can be significant. Another problem is dynamic content assembly at edge Indicate what s cacheable and what is not Edge Side Includes ( Suggests that edge caches may become more intelligent edge servers in the future, thus moving us to a distributed computing style Who knew it was going to get this complicated?!

47 Request Reduction In modern broadband situations the number of requests can significantly effect the performance of a page Bundling dependent objects can potentially tremendously improve the performance of a site Sometime the separation frankly is more out of convention that being appropriate Example JavaScript <script src= file1.js ></script> <script src= file2.js ></script> Becomes <script src= filebundle.js ></script> Given JavaScripts shared namespace there is no reason why not

48 Request Reduction Contd. For CSS files you see a similar situation as JS For images you could adopt an idea called CSS sprites where you make a large image tile of all the independent pieces and then show portions of the image <img src= " pixel.gif" style="background:url('image_ png') -3095px 0px no-repeat; height: 45px; width: 33px;" /> Next image <img src="pixel.gif" style="background:url('image_ png') -2896px 0px no-repeat; height: 32px; width: 199px;" />"

49 Request Reduction in Action

50 All About End Users? -Bytes vs. Time -Read, Decide, Click, Wait, Repeat -Download ahead of time Flash preloaders, cache tricks, JS preload Mozilla prefetch Link_Prefetching_FAQ.html Precache example Don t forget Browser Bulk IE vs Opera vs Mozilla vs Safari they are different pieces of software with different qualities of execution

51 How do you know you are doing well? Measure server time, network time, and paint time Server time is easy, network time is harder, and paint time requires a JavaScript injection to then start and stop a timer Interesting to note that such features are coming directly to browsers now ( and the W3C is creating performance working group (

52 SPDY, Sockets and Beyond Can we fix HTTP? How hard would it be to do HTTP 2.0? Pretty hard, we can t even do simple HTTP as it stands Evidence: Proxies, Get/Post, Header Issues, Compression, etc. SPDY offers some solution using an SSL tunnel If you can t fix it then offer something else Parallel protocol? WebSocket? Does this get at underlying file protocol vs. app protocol difference? I think so.

Front-End Performance Testing and Optimization

Front-End Performance Testing and Optimization Front-End Performance Testing and Optimization Abstract Today, web user turnaround starts from more than 3 seconds of response time. This demands performance optimization on all application levels. Client

More information

Accelerating Wordpress for Pagerank and Profit

Accelerating Wordpress for Pagerank and Profit Slide No. 1 Accelerating Wordpress for Pagerank and Profit Practical tips and tricks to increase the speed of your site, improve conversions and climb the search rankings By: Allan Jude November 2011 Vice

More information

SiteCelerate white paper

SiteCelerate white paper SiteCelerate white paper Arahe Solutions SITECELERATE OVERVIEW As enterprises increases their investment in Web applications, Portal and websites and as usage of these applications increase, performance

More information

Measuring CDN Performance. Hooman Beheshti, VP Technology

Measuring CDN Performance. Hooman Beheshti, VP Technology Measuring CDN Performance Hooman Beheshti, VP Technology Why this matters Performance is one of the main reasons we use a CDN Seems easy to measure, but isn t Performance is an easy way to comparison shop

More information

Web Performance. Lab. Bases de Dados e Aplicações Web MIEIC, FEUP 2014/15. Sérgio Nunes

Web Performance. Lab. Bases de Dados e Aplicações Web MIEIC, FEUP 2014/15. Sérgio Nunes Web Performance Lab. Bases de Dados e Aplicações Web MIEIC, FEUP 2014/15 Sérgio Nunes Web Performance Web optimization techniques are designed to improve the overall response time of a web application

More information

Improving Magento Front-End Performance

Improving Magento Front-End Performance Improving Magento Front-End Performance If your Magento website consistently loads in less than two seconds, congratulations! You already have a high-performing site. But if your site is like the vast

More information

Lecture 3: Scaling by Load Balancing 1. Comments on reviews i. 2. Topic 1: Scalability a. QUESTION: What are problems? i. These papers look at

Lecture 3: Scaling by Load Balancing 1. Comments on reviews i. 2. Topic 1: Scalability a. QUESTION: What are problems? i. These papers look at Lecture 3: Scaling by Load Balancing 1. Comments on reviews i. 2. Topic 1: Scalability a. QUESTION: What are problems? i. These papers look at distributing load b. QUESTION: What is the context? i. How

More information

1. Comments on reviews a. Need to avoid just summarizing web page asks you for:

1. Comments on reviews a. Need to avoid just summarizing web page asks you for: 1. Comments on reviews a. Need to avoid just summarizing web page asks you for: i. A one or two sentence summary of the paper ii. A description of the problem they were trying to solve iii. A summary of

More information

FIVE WAYS TO OPTIMIZE MOBILE WEBSITE PERFORMANCE WITH PAGE SPEED

FIVE WAYS TO OPTIMIZE MOBILE WEBSITE PERFORMANCE WITH PAGE SPEED WHITE PAPER: MOBILE WEBSITE PERFORMANCE FIVE WAYS TO OPTIMIZE MOBILE WEBSITE PERFORMANCE WITH PAGE SPEED SNOOZE, YOU LOSE. TODAY S MOBILE USERS EXPECT PERFORMANCE DELIVERED FAST. For those of us who depend

More information

Distributed Systems. 23. Content Delivery Networks (CDN) Paul Krzyzanowski. Rutgers University. Fall 2015

Distributed Systems. 23. Content Delivery Networks (CDN) Paul Krzyzanowski. Rutgers University. Fall 2015 Distributed Systems 23. Content Delivery Networks (CDN) Paul Krzyzanowski Rutgers University Fall 2015 November 17, 2015 2014-2015 Paul Krzyzanowski 1 Motivation Serving web content from one location presents

More information

Distributed Systems. 25. Content Delivery Networks (CDN) 2014 Paul Krzyzanowski. Rutgers University. Fall 2014

Distributed Systems. 25. Content Delivery Networks (CDN) 2014 Paul Krzyzanowski. Rutgers University. Fall 2014 Distributed Systems 25. Content Delivery Networks (CDN) Paul Krzyzanowski Rutgers University Fall 2014 November 16, 2014 2014 Paul Krzyzanowski 1 Motivation Serving web content from one location presents

More information

Results-Oriented Application Acceleration with FastView Because Every Second Counts Whitepaper

Results-Oriented Application Acceleration with FastView Because Every Second Counts Whitepaper Results-Oriented Application Acceleration with FastView Because Every Second Counts Whitepaper Table of Contents Executive Summary...3 Why Website Performance Matters...3 What Affects Website Performance...5

More information

Update logo and logo link on A Master. Update Date and Product on B Master

Update logo and logo link on A Master. Update Date and Product on B Master Cover Be sure to: Update META data Update logo and logo link on A Master Update Date and Product on B Master Web Performance Metrics 101 Contents Preface...3 Response Time...4 DNS Resolution Time... 4

More information

Internet Content Distribution

Internet Content Distribution Internet Content Distribution Chapter 2: Server-Side Techniques (TUD Student Use Only) Chapter Outline Server-side techniques for content distribution Goals Mirrors Server farms Surrogates DNS load balancing

More information

Web Performance. Sergey Chernyshev. March '09 New York Web Standards Meetup. New York, NY. March 19 th, 2009

Web Performance. Sergey Chernyshev. March '09 New York Web Standards Meetup. New York, NY. March 19 th, 2009 Web Performance Sergey Chernyshev March '09 New York Web Standards Meetup New York, NY March 19 th, 2009 About presenter Doing web stuff since 1995 Director, Web Systems and Applications at trutv Personal

More information

How To Understand The Power Of A Content Delivery Network (Cdn)

How To Understand The Power Of A Content Delivery Network (Cdn) Overview 5-44 5-44 Computer Networking 5-64 Lecture 8: Delivering Content Content Delivery Networks Peter Steenkiste Fall 04 www.cs.cmu.edu/~prs/5-44-f4 Web Consistent hashing Peer-to-peer CDN Motivation

More information

How To Optimize Your Website With Radware Fastview

How To Optimize Your Website With Radware Fastview FastView Radware s End-to-End Acceleration Technology Technology Overview Whitepaper Table of Contents Executive Summary... 3 Performance Matters... 4 The Business Impact of Fast Web Sites... 4 Acceleration

More information

Drupal Performance Tuning

Drupal Performance Tuning Drupal Performance Tuning By Jeremy Zerr Website: http://www.jeremyzerr.com @jrzerr http://www.linkedin.com/in/jrzerr Overview Basics of Web App Systems Architecture General Web

More information

Magento Performance Optimization Whitepaper

Magento Performance Optimization Whitepaper Websites Decay Fast Even one year is a long time on the web, as Magento platform is changing, evolving as it takes on new e-commerce challenges one at a time in steady, ongoing iteration. When you created

More information

Why Mobile Performance is Hard

Why Mobile Performance is Hard Matt Welsh mdw@google.com Google, Inc. http://www.flickr.com/photos/nao-cha/2660459899/ Why Mobile Performance is Hard In a nutshell: Despite 20 years of research and engineering, mobile performance still

More information

Content Delivery Networks (CDN) Dr. Yingwu Zhu

Content Delivery Networks (CDN) Dr. Yingwu Zhu Content Delivery Networks (CDN) Dr. Yingwu Zhu Web Cache Architecure Local ISP cache cdn Reverse Reverse Proxy Reverse Proxy Reverse Proxy Proxy L4 Switch Content Content Content Server Content Server

More information

79 Tips and Tricks for Magento Performance Improvement. for Magento Performance Improvement

79 Tips and Tricks for Magento Performance Improvement. for Magento Performance Improvement 79 Tips and Tricks for Magento Performance Improvement A Checklist to Faster Load Times and Higher Conversion Rates Your website visitors crave fast load times and speedy product search. In fact, almost

More information

Content Delivery Networks. Shaxun Chen April 21, 2009

Content Delivery Networks. Shaxun Chen April 21, 2009 Content Delivery Networks Shaxun Chen April 21, 2009 Outline Introduction to CDN An Industry Example: Akamai A Research Example: CDN over Mobile Networks Conclusion Outline Introduction to CDN An Industry

More information

Web Caching and CDNs. Aditya Akella

Web Caching and CDNs. Aditya Akella Web Caching and CDNs Aditya Akella 1 Where can bottlenecks occur? First mile: client to its ISPs Last mile: server to its ISP Server: compute/memory limitations ISP interconnections/peerings: congestion

More information

Web Programming Languages Overview

Web Programming Languages Overview Web Programming Languages Overview Thomas Powell tpowell@pint.com Web Programming in Context Web Programming Toolbox ActiveX Controls Java Applets Client Side Helper Applications Netscape Plug-ins Scripting

More information

Mobile Application Performance Report

Mobile Application Performance Report Mobile Application Performance Report Optimization Recommendations and Performance Analysis Report Prepared for - http://www.google.com VS http://www.yahoo.com Emulated Device Type: ipad OVERALL PERFORMANCE

More information

Web Server Languages Summer 2014. Thomas A. Powell tpowell@pint.com

Web Server Languages Summer 2014. Thomas A. Powell tpowell@pint.com Web Server Languages Summer 2014 Thomas A. Powell tpowell@pint.com http://www.pint.com/classes/cse135 Housekeeping Syllabus review Class page http://classes.pint.com/cse135/ Updated syllabus, notes, homework

More information

MEASURING WORKLOAD PERFORMANCE IS THE INFRASTRUCTURE A PROBLEM?

MEASURING WORKLOAD PERFORMANCE IS THE INFRASTRUCTURE A PROBLEM? MEASURING WORKLOAD PERFORMANCE IS THE INFRASTRUCTURE A PROBLEM? Ashutosh Shinde Performance Architect ashutosh_shinde@hotmail.com Validating if the workload generated by the load generating tools is applied

More information

Using Steelhead Appliances and Stingray Aptimizer to Accelerate Microsoft SharePoint WHITE PAPER

Using Steelhead Appliances and Stingray Aptimizer to Accelerate Microsoft SharePoint WHITE PAPER Using Steelhead Appliances and Stingray Aptimizer to Accelerate Microsoft SharePoint WHITE PAPER Introduction to Faster Loading Web Sites A faster loading web site or intranet provides users with a more

More information

Scalability of web applications. CSCI 470: Web Science Keith Vertanen

Scalability of web applications. CSCI 470: Web Science Keith Vertanen Scalability of web applications CSCI 470: Web Science Keith Vertanen Scalability questions Overview What's important in order to build scalable web sites? High availability vs. load balancing Approaches

More information

From Internet Data Centers to Data Centers in the Cloud

From Internet Data Centers to Data Centers in the Cloud From Internet Data Centers to Data Centers in the Cloud This case study is a short extract from a keynote address given to the Doctoral Symposium at Middleware 2009 by Lucy Cherkasova of HP Research Labs

More information

The Application Front End Understanding Next-Generation Load Balancing Appliances

The Application Front End Understanding Next-Generation Load Balancing Appliances White Paper Overview To accelerate download times for end users and provide a high performance, highly secure foundation for Web-enabled content and applications, networking functions need to be streamlined.

More information

CS 188/219. Scalable Internet Services Andrew Mutz October 8, 2015

CS 188/219. Scalable Internet Services Andrew Mutz October 8, 2015 CS 188/219 Scalable Internet Services Andrew Mutz October 8, 2015 For Today About PTEs Empty spots were given out If more spots open up, I will issue more PTEs You must have a group by today. More detail

More information

HIGH-SPEED BRIDGE TO CLOUD STORAGE

HIGH-SPEED BRIDGE TO CLOUD STORAGE HIGH-SPEED BRIDGE TO CLOUD STORAGE Addressing throughput bottlenecks with Signiant s SkyDrop 2 The heart of the Internet is a pulsing movement of data circulating among billions of devices worldwide between

More information

E-commerce is also about

E-commerce is also about Magento server & environment optimization Get very fast page rendering, even under heavy load! E-commerce is also about NBS System 2011, all right reserved Managed Hosting & Security www.nbs-system.com

More information

Distributed Systems 19. Content Delivery Networks (CDN) Paul Krzyzanowski pxk@cs.rutgers.edu

Distributed Systems 19. Content Delivery Networks (CDN) Paul Krzyzanowski pxk@cs.rutgers.edu Distributed Systems 19. Content Delivery Networks (CDN) Paul Krzyzanowski pxk@cs.rutgers.edu 1 Motivation Serving web content from one location presents problems Scalability Reliability Performance Flash

More information

Web Email DNS Peer-to-peer systems (file sharing, CDNs, cycle sharing)

Web Email DNS Peer-to-peer systems (file sharing, CDNs, cycle sharing) 1 1 Distributed Systems What are distributed systems? How would you characterize them? Components of the system are located at networked computers Cooperate to provide some service No shared memory Communication

More information

WordPress Optimization

WordPress Optimization WordPress Optimization markkelnar WP Engine @renderandserve howdy@wpengine.com wpengine.com/optimizing-wordpress WordCamp Atlanta 2012 Who is this guy? Head of Technology, System Administration, database,

More information

DATA COMMUNICATOIN NETWORKING

DATA COMMUNICATOIN NETWORKING DATA COMMUNICATOIN NETWORKING Instructor: Ouldooz Baghban Karimi Course Book: Computer Networking, A Top-Down Approach, Kurose, Ross Slides: - Course book Slides - Slides from Princeton University COS461

More information

making drupal run fast

making drupal run fast making drupal run fast 2 Objectives Improve drupal performance Provide Simple tips on Increasing Drupal performance We have some data from load testing a site in these different configs: ++ plain drupal

More information

Distributed Systems. 24. Content Delivery Networks (CDN) 2013 Paul Krzyzanowski. Rutgers University. Fall 2013

Distributed Systems. 24. Content Delivery Networks (CDN) 2013 Paul Krzyzanowski. Rutgers University. Fall 2013 Distributed Systems 24. Content Delivery Networks (CDN) Paul Krzyzanowski Rutgers University Fall 2013 November 27, 2013 2013 Paul Krzyzanowski 1 Motivation Serving web content from one location presents

More information

AKAMAI WHITE PAPER. Delivering Dynamic Web Content in Cloud Computing Applications: HTTP resource download performance modelling

AKAMAI WHITE PAPER. Delivering Dynamic Web Content in Cloud Computing Applications: HTTP resource download performance modelling AKAMAI WHITE PAPER Delivering Dynamic Web Content in Cloud Computing Applications: HTTP resource download performance modelling Delivering Dynamic Web Content in Cloud Computing Applications 1 Overview

More information

SharePoint Performance Optimization

SharePoint Performance Optimization White Paper AX Series SharePoint Performance Optimization September 2011 WP_SharePoint_091511.1 TABLE OF CONTENTS 1 Introduction... 2 2 Executive Overview... 2 3 SSL Offload... 4 4 Connection Reuse...

More information

WompMobile Technical FAQ

WompMobile Technical FAQ WompMobile Technical FAQ What are the technical benefits of WompMobile? The mobile site has the same exact URL as the desktop website. The mobile site automatically and instantly syncs with the desktop

More information

Protocolo HTTP. Web and HTTP. HTTP overview. HTTP overview

Protocolo HTTP. Web and HTTP. HTTP overview. HTTP overview Web and HTTP Protocolo HTTP Web page consists of objects Object can be HTML file, JPEG image, Java applet, audio file, Web page consists of base HTML-file which includes several referenced objects Each

More information

W3Perl A free logfile analyzer

W3Perl A free logfile analyzer W3Perl A free logfile analyzer Features Works on Unix / Windows / Mac View last entries based on Perl scripts Web / FTP / Squid / Email servers Session tracking Others log format can be added easily Detailed

More information

ZEN LOAD BALANCER EE v3.04 DATASHEET The Load Balancing made easy

ZEN LOAD BALANCER EE v3.04 DATASHEET The Load Balancing made easy ZEN LOAD BALANCER EE v3.04 DATASHEET The Load Balancing made easy OVERVIEW The global communication and the continuous growth of services provided through the Internet or local infrastructure require to

More information

Implementing Reverse Proxy Using Squid. Prepared By Visolve Squid Team

Implementing Reverse Proxy Using Squid. Prepared By Visolve Squid Team Implementing Reverse Proxy Using Squid Prepared By Visolve Squid Team Introduction What is Reverse Proxy Cache About Squid How Reverse Proxy Cache work Configuring Squid as Reverse Proxy Configuring Squid

More information

Website Performance: Kyle Simpson

Website Performance: Kyle Simpson Website Performance: Kyle Simpson (Video: 0_Introduction.mp4): Introduction 00:00:0000:07:50: An introduction and a discussion about how developers need to change their mindset to think about web performance

More information

Unibet.com Architecture

Unibet.com Architecture Unibet.com Architecture Open Source at Unibet.com: 10x scalability at half the cost stefan.norberg@unibet.com @stnor About the speaker Unibet Open Source strategy Open source software and open standards

More information

CS514: Intermediate Course in Computer Systems

CS514: Intermediate Course in Computer Systems : Intermediate Course in Computer Systems Lecture 7: Sept. 19, 2003 Load Balancing Options Sources Lots of graphics and product description courtesy F5 website (www.f5.com) I believe F5 is market leader

More information

Large-Scale Web Applications

Large-Scale Web Applications Large-Scale Web Applications Mendel Rosenblum Web Application Architecture Web Browser Web Server / Application server Storage System HTTP Internet CS142 Lecture Notes - Intro LAN 2 Large-Scale: Scale-Out

More information

Dynamic Content Acceleration: Lightning-Fast Web Apps with Amazon CloudFront and Amazon Route 53

Dynamic Content Acceleration: Lightning-Fast Web Apps with Amazon CloudFront and Amazon Route 53 Dynamic Content Acceleration: Lightning-Fast Web Apps with Amazon CloudFront and Amazon Route 53 Constantin Gonzalez, Solutions Architect Amazon Web Services Germany GmbH 2014 Amazon.com, Inc. and its

More information

Key Components of WAN Optimization Controller Functionality

Key Components of WAN Optimization Controller Functionality Key Components of WAN Optimization Controller Functionality Introduction and Goals One of the key challenges facing IT organizations relative to application and service delivery is ensuring that the applications

More information

Moore s Law and Network Optimization

Moore s Law and Network Optimization Moore s Law and Network Optimization Constantine D. Polychronopoulos University of Illinois at Urbana-Champaign Onassis Foundation Science Lecture Series 2008 Computer Science ITE - Crete July 2008 1 Moore

More information

ZEN LOAD BALANCER EE v3.02 DATASHEET The Load Balancing made easy

ZEN LOAD BALANCER EE v3.02 DATASHEET The Load Balancing made easy ZEN LOAD BALANCER EE v3.02 DATASHEET The Load Balancing made easy OVERVIEW The global communication and the continuous growth of services provided through the Internet or local infrastructure require to

More information

Cisco Application Networking for BEA WebLogic

Cisco Application Networking for BEA WebLogic Cisco Application Networking for BEA WebLogic Faster Downloads and Site Navigation, Less Bandwidth and Server Processing, and Greater Availability for Global Deployments What You Will Learn To address

More information

A TECHNICAL REVIEW OF CACHING TECHNOLOGIES

A TECHNICAL REVIEW OF CACHING TECHNOLOGIES WHITEPAPER Over the past 10 years, the use of applications to enable business processes has evolved drastically. What was once a nice-to-have is now a mainstream staple that exists at the core of business,

More information

The Value of a Content Delivery Network

The Value of a Content Delivery Network September 2010 White Paper The Value of a Content Delivery Network Table of Contents Introduction... 3 Performance... 3 The Second Generation of CDNs... 6 Conclusion... 7 About NTT America... 8 Introduction

More information

networks Live & On-Demand Video Delivery without Interruption Wireless optimization the unsolved mystery WHITE PAPER

networks Live & On-Demand Video Delivery without Interruption Wireless optimization the unsolved mystery WHITE PAPER Live & On-Demand Video Delivery without Interruption Wireless optimization the unsolved mystery - Improving the way the world connects - WHITE PAPER Live On-Demand Video Streaming without Interruption

More information

9 Tried and Tested Tips to Increase the Power of your Magento Store

9 Tried and Tested Tips to Increase the Power of your Magento Store 9 Tried and Tested Tips to Increase the Power of your Magento Store Table of Contents 01 Introduction...03 02 Enable Caching...04 03 Use PHP Accelerators like APC...05 04 05 06 07 09 Use Magento Full Page

More information

CSC2231: Akamai. http://www.cs.toronto.edu/~stefan/courses/csc2231/05au. Stefan Saroiu Department of Computer Science University of Toronto

CSC2231: Akamai. http://www.cs.toronto.edu/~stefan/courses/csc2231/05au. Stefan Saroiu Department of Computer Science University of Toronto CSC2231: Akamai http://www.cs.toronto.edu/~stefan/courses/csc2231/05au Stefan Saroiu Department of Computer Science University of Toronto Administrivia Project proposals due today!!! No lecture on Monday:

More information

Global Server Load Balancing

Global Server Load Balancing White Paper Overview Many enterprises attempt to scale Web and network capacity by deploying additional servers and increased infrastructure at a single location, but centralized architectures are subject

More information

BASICS OF SCALING: LOAD BALANCERS

BASICS OF SCALING: LOAD BALANCERS BASICS OF SCALING: LOAD BALANCERS Lately, I ve been doing a lot of work on systems that require a high degree of scalability to handle large traffic spikes. This has led to a lot of questions from friends

More information

Web Conferencing Version 8.3 Troubleshooting Guide

Web Conferencing Version 8.3 Troubleshooting Guide System Requirements General Requirements Web Conferencing Version 8.3 Troubleshooting Guide Listed below are the minimum requirements for participants accessing the web conferencing service. Systems which

More information

Cisco Application Networking for Citrix Presentation Server

Cisco Application Networking for Citrix Presentation Server Cisco Application Networking for Citrix Presentation Server Faster Site Navigation, Less Bandwidth and Server Processing, and Greater Availability for Global Deployments What You Will Learn To address

More information

Apache Tomcat. Load-balancing and Clustering. Mark Thomas, 20 November 2014. 2014 Pivotal Software, Inc. All rights reserved.

Apache Tomcat. Load-balancing and Clustering. Mark Thomas, 20 November 2014. 2014 Pivotal Software, Inc. All rights reserved. 2 Apache Tomcat Load-balancing and Clustering Mark Thomas, 20 November 2014 Introduction Apache Tomcat committer since December 2003 markt@apache.org Tomcat 8 release manager Member of the Servlet, WebSocket

More information

The Devil is in the Details. How to Optimize Magento Hosting to Increase Online Sales

The Devil is in the Details. How to Optimize Magento Hosting to Increase Online Sales The Devil is in the Details How to Optimize Magento Hosting to Increase Online Sales Introduction Will Bernstein Executive Vice President, Sales and Marketing Outline 1. Case study: Zarpo.com solution

More information

The Application Delivery Controller Understanding Next-Generation Load Balancing Appliances

The Application Delivery Controller Understanding Next-Generation Load Balancing Appliances White Paper Overview To accelerate response times for end users and provide a high performance, highly secure and scalable foundation for Web applications and rich internet content, application networking

More information

Communications Software. CSE 123b. CSE 123b. Spring 2003. Lecture 13: Load Balancing/Content Distribution. Networks (plus some other applications)

Communications Software. CSE 123b. CSE 123b. Spring 2003. Lecture 13: Load Balancing/Content Distribution. Networks (plus some other applications) CSE 123b CSE 123b Communications Software Spring 2003 Lecture 13: Load Balancing/Content Distribution Networks (plus some other applications) Stefan Savage Some slides courtesy Srini Seshan Today s class

More information

Mobile Performance Testing Approaches and Challenges

Mobile Performance Testing Approaches and Challenges NOUS INFOSYSTEMS LEVERAGING INTELLECT Mobile Performance Testing Approaches and Challenges ABSTRACT Mobile devices are playing a key role in daily business functions as mobile devices are adopted by most

More information

Test Run Analysis Interpretation (AI) Made Easy with OpenLoad

Test Run Analysis Interpretation (AI) Made Easy with OpenLoad Test Run Analysis Interpretation (AI) Made Easy with OpenLoad OpenDemand Systems, Inc. Abstract / Executive Summary As Web applications and services become more complex, it becomes increasingly difficult

More information

Q: What is the difference between the other load testing tools which enables the wan emulation, location based load testing and Gomez load testing?

Q: What is the difference between the other load testing tools which enables the wan emulation, location based load testing and Gomez load testing? PorposalPPP Q: Gomez is standlone web application testing tool? Gomez provides an on demand platform that you can use for both testing and monitoring your Web applications from the outside in across your

More information

Load Balancing Web Applications

Load Balancing Web Applications Mon Jan 26 2004 18:14:15 America/New_York Published on The O'Reilly Network (http://www.oreillynet.com/) http://www.oreillynet.com/pub/a/onjava/2001/09/26/load.html See this if you're having trouble printing

More information

Project #2. CSE 123b Communications Software. HTTP Messages. HTTP Basics. HTTP Request. HTTP Request. Spring 2002. Four parts

Project #2. CSE 123b Communications Software. HTTP Messages. HTTP Basics. HTTP Request. HTTP Request. Spring 2002. Four parts CSE 123b Communications Software Spring 2002 Lecture 11: HTTP Stefan Savage Project #2 On the Web page in the next 2 hours Due in two weeks Project reliable transport protocol on top of routing protocol

More information

603: Enhancing mobile device experience with NetScaler MobileStream Hands-on Lab Exercise Guide

603: Enhancing mobile device experience with NetScaler MobileStream Hands-on Lab Exercise Guide 603: Enhancing mobile device experience with NetScaler MobileStream Hands-on Lab Exercise Guide Christopher Rudolph January 2015 1 Table of Contents Contents... 2 Overview... 3 Scenario... 6 Lab Preparation...

More information

The importance of Drupal Cache. Luis F. Ribeiro Ci&T Inc. 2013

The importance of Drupal Cache. Luis F. Ribeiro Ci&T Inc. 2013 The importance of Drupal Cache Luis F. Ribeiro Ci&T Inc. 2013 Introduction Caio Ciao Luppi Software Architect at Ci&T Inc. More than 4 years of experience with Drupal Development Experience with Application

More information

White Paper. How To Deliver Fast, Engaging Responsive Web Design Sites

White Paper. How To Deliver Fast, Engaging Responsive Web Design Sites White Paper How To Deliver Fast, Engaging Responsive Web Design Sites Table of Contents MOBILE IMPACTS THE BOTTOM LINE...1 RESPONSIVE WEB DESIGN ADOPTION GROWING FAST...2 FAST, QUALITY WEB EXPERIENCES

More information

A Tool for Evaluation and Optimization of Web Application Performance

A Tool for Evaluation and Optimization of Web Application Performance A Tool for Evaluation and Optimization of Web Application Performance Tomáš Černý 1 cernyto3@fel.cvut.cz Michael J. Donahoo 2 jeff_donahoo@baylor.edu Abstract: One of the main goals of web application

More information

AUDIT REPORT EXAMPLE

AUDIT REPORT EXAMPLE AUDIT REPORT EXAMPLE Severity levels: low, average, high, critical Difficulty levels: low, average, high I. General information and server configuration Problem: Too many HTTP requests. Found (on homepage):

More information

The Critical Role of an Application Delivery Controller

The Critical Role of an Application Delivery Controller The Critical Role of an Application Delivery Controller Friday, October 30, 2009 Introduction In any economic environment a company s senior management expects that their IT organization will continually

More information

How to Build a Massively Scalable Next-Generation Firewall

How to Build a Massively Scalable Next-Generation Firewall How to Build a Massively Scalable Next-Generation Firewall Seven measures of scalability, and how to use them to evaluate NGFWs Scalable is not just big or fast. When it comes to advanced technologies

More information

Cisco Application Networking for IBM WebSphere

Cisco Application Networking for IBM WebSphere Cisco Application Networking for IBM WebSphere Faster Downloads and Site Navigation, Less Bandwidth and Server Processing, and Greater Availability for Global Deployments What You Will Learn To address

More information

HTTP. Internet Engineering. Fall 2015. Bahador Bakhshi CE & IT Department, Amirkabir University of Technology

HTTP. Internet Engineering. Fall 2015. Bahador Bakhshi CE & IT Department, Amirkabir University of Technology HTTP Internet Engineering Fall 2015 Bahador Bakhshi CE & IT Department, Amirkabir University of Technology Questions Q1) How do web server and client browser talk to each other? Q1.1) What is the common

More information

Computer Networks. Lecture 7: Application layer: FTP and HTTP. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Computer Networks. Lecture 7: Application layer: FTP and HTTP. Marcin Bieńkowski. Institute of Computer Science University of Wrocław Computer Networks Lecture 7: Application layer: FTP and Marcin Bieńkowski Institute of Computer Science University of Wrocław Computer networks (II UWr) Lecture 7 1 / 23 Reminder: Internet reference model

More information

Deployment Guide Microsoft IIS 7.0

Deployment Guide Microsoft IIS 7.0 Deployment Guide Microsoft IIS 7.0 DG_IIS_022012.1 TABLE OF CONTENTS 1 Introduction... 4 2 Deployment Guide Overview... 4 3 Deployment Guide Prerequisites... 4 4 Accessing the AX Series Load Balancer...

More information

Data Driven Success. Comparing Log Analytics Tools: Flowerfire s Sawmill vs. Google Analytics (GA)

Data Driven Success. Comparing Log Analytics Tools: Flowerfire s Sawmill vs. Google Analytics (GA) Data Driven Success Comparing Log Analytics Tools: Flowerfire s Sawmill vs. Google Analytics (GA) In business, data is everything. Regardless of the products or services you sell or the systems you support,

More information

Acceleration Systems Performance Assessment Tool (PAT) User Guide v 2.1

Acceleration Systems Performance Assessment Tool (PAT) User Guide v 2.1 Acceleration Systems Performance Assessment Tool (PAT) User Guide v 2.1 December 2015 Table of Contents 1 PAT... 1 1.1 Network Quality Report (Pre-test Evaluation)... 1 1.1.1 Raw MTR Data... 4 2 Executing

More information

1. When will an IP process drop a datagram? 2. When will an IP process fragment a datagram? 3. When will a TCP process drop a segment?

1. When will an IP process drop a datagram? 2. When will an IP process fragment a datagram? 3. When will a TCP process drop a segment? Questions 1. When will an IP process drop a datagram? 2. When will an IP process fragment a datagram? 3. When will a TCP process drop a segment? 4. When will a TCP process resend a segment? CP476 Internet

More information

Single Pass Load Balancing with Session Persistence in IPv6 Network. C. J. (Charlie) Liu Network Operations Charter Communications

Single Pass Load Balancing with Session Persistence in IPv6 Network. C. J. (Charlie) Liu Network Operations Charter Communications Single Pass Load Balancing with Session Persistence in IPv6 Network C. J. (Charlie) Liu Network Operations Charter Communications Load Balancer Today o Load balancing is still in use today. It is now considered

More information

Understanding Slow Start

Understanding Slow Start Chapter 1 Load Balancing 57 Understanding Slow Start When you configure a NetScaler to use a metric-based LB method such as Least Connections, Least Response Time, Least Bandwidth, Least Packets, or Custom

More information

Web Log Analysis for Performance Troubleshooting

Web Log Analysis for Performance Troubleshooting Authors: Rosario Alfano, Giuseppe Cassone, Danilo Gotta Abstract Web Server Logs contain powerful, but often hidden, information about the performance of your Web Applications. In this session, you ll

More information

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence Web Development Owen Sacco ICS2205/ICS2230 Web Intelligence Brief Course Overview An introduction to Web development Server-side Scripting Web Servers PHP Client-side Scripting HTML & CSS JavaScript &

More information

Mike Canney Principal Network Analyst getpackets.com

Mike Canney Principal Network Analyst getpackets.com Mike Canney Principal Network Analyst getpackets.com 1 My contact info contact Mike Canney, Principal Network Analyst, getpackets.com canney@getpackets.com 319.389.1137 2 Capture Strategies capture Capture

More information

The Evolution of Application Acceleration:

The Evolution of Application Acceleration: WHITE PAPER The Evolution of Application Acceleration: From Server Load Balancers to Application Delivery Controllers www.crescendonetworks.com Corporate Headquarters 6 Yoni Netanyahu Street Or-Yehuda

More information

GLOBAL SERVER LOAD BALANCING WITH SERVERIRON

GLOBAL SERVER LOAD BALANCING WITH SERVERIRON APPLICATION NOTE GLOBAL SERVER LOAD BALANCING WITH SERVERIRON Growing Global Simply by connecting to the Internet, local businesses transform themselves into global ebusiness enterprises that span the

More information

Request Routing, Load-Balancing and Fault- Tolerance Solution - MediaDNS

Request Routing, Load-Balancing and Fault- Tolerance Solution - MediaDNS White paper Request Routing, Load-Balancing and Fault- Tolerance Solution - MediaDNS June 2001 Response in Global Environment Simply by connecting to the Internet, local businesses transform themselves

More information