Foundations/SystemPerformance/ImprovingPageLoadPerformance

Not logged in - Log In / Register

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 how these people interact with Launchpad:

How do these factors affect TTI?

How do we reduce TTI for these users?

What Can We Improve?

Network Time

Network time is roughly 65% of Time To Interact.

Server-side Improvements

Client-side and In-page Improvements

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) (The percentage is probably less important than the fact that most of the user base we support are authenticated. The only anonymous thing that has much weight on it at all would be the pages that support the "anonymous download of release" usecase. --gary)

Render Time

Assuming that render time is everything spent outside Network and Generation time, Render time would account for a very small percentage of the Time To Interact in a typical Launchpad.net page: perhaps a few hundred milliseconds. The notable exceptions are the BugIndex and BugTaskIndex pages, which load some page components using JavaScript after the DOM load event.

  • Load less-important page elements later (already started in 3.0 UI)

Foundations/SystemPerformance/ImprovingPageLoadPerformance (last edited 2010-08-11 04:27:05 by sidnei)