Previous | Next --- Slide 16 of 40
Back to Lecture Thumbnails
Xelblade

This slide is showing how you can divide a request for a page into multiple database queries, such as a query for the ads, a query for search requests, a query for recommendations, etc.

AnnabelleBlue

*This is good for parallelism because each database query can be done in parallel. This will decrease the time for a response since the database queries are not reliant upon each other. This method can greatly decrease latency.

Avesh

Here's a quick summary of the linked article:

Latency on websites matters far more than most think. Marissa Mayer (back when she was at Google) reported that users unanimously want 30 results per page, but 10 results /page did way better in A/B testing. This was because the 10 results page takes .4 seconds to generate, whereas the 30 results page takes .9.

This finding is corroborated with data from AOL, Shopzilla, and additional Google data.

Interestingly, the bulk of the web page latency on popular sites like Facebook and Ebay was actually front-end time rather than server latency.

I suspect that this is because these sites have already implemented the methods described in this slide, and not because these methods are not important.

Here is a clickable link to the article: http://perspectives.mvdirona.com/2009/10/31/TheCostOfLatency.aspx