Foundations/SystemPerformance/ImprovingPageLoadPerformance

Not logged in - Log In / Register

Revision 17 as of 2010-03-22 12:48:09

Clear message

This page is a collection of ideas for improving the Time To Interact of pages on Launchpad.net.

Which Users Should We Target?

Launchpad Commercial Users

Over the coming months we will be focusing on performance issues for commercial users who work for OEMs, ODMs, and our own field engineers. What follows is a rough outline of who these people are:

How do these factors affect TTI?

What Can We Improve?

Network Time

Network time is roughly 33% of time to interact. It can vary from as little as 20% to as much as 45% of the time spent on a page.

Generation Time

Generation time may account for 35% of TTI for anonymous requests, and 40% of TTI for authorized requests. (Here are the calculations for viewing http://launchpad.net/bzr.)

Generation time is drastically reduced when you hit the squid caching server instead of the Zope application servers. Squid will typically returns results in less than 200ms, one tenth of the time it takes to get data from the application server in the example above. This effect is most visible to authenticated users, who always hit the application server. (What percentage of page requests are authenticated? --mars)

Render Time

Assuming that render time is everything spent outside Network and Generation time, Render time would account for ~30% of the page load time. Render time usually spent after the initial HTML is loaded waiting for fetching and rendering of on-page resources, JavaScript execution, and so forth.