Give a chance to prediction

It is mostly about AJAX applications, but it applies well to any scenario where a smart/rich client is present. I'm talking about the "Predictive Fetch" pattern. Quite simply, it refers to the idea of preloading data that the current user can request in a few moments. It relates to caching--more, it is often implemented through caching--but it is a different kind of thing. It is actually a strategy for certain pieces of the user interface, where you need/want to exceed expectations and provide an output close to (if not under) the threshold of human consciousness (about 10 ms). Immediate response.

Like many other AJAX-related things, it is mostly a matter of tradeoff. You are guessing, that's what you're doing. And the guess can be right or wrong. If wrong, you have just wasted some resources and CPU cycles on both client and server. If right, you astonish users. BUT... because you can hardly afford pre-fetching from every possible use-case, then the open point is: what the user reaction/feelings when one feature is sooo fast and another similar one is slower?

The full story on DotNetSlackers.

Published 21 May 2009 10:04 AM by despos
Filed under:

Comments

# Ray said on 30 May, 2009 06:59 PM

Hi Dino,

I totally agree with what you said.  Yesterday, I viewed the entire video on the new big thing Google Wave at http://wave.google.com/.  What are your thoughts on how something so spontaneous like that is made possible in light of the "Predictive Fetch" pattern?  Any comments are appreciate it!

Thank you,

Ray.

# Louis Vuitton said on 23 November, 2010 10:11 AM

The good thing about this site is we not can get only one information. Its serve all. For me, I used to open this site to get more about the tv partner.

# Pearl Pendant said on 25 December, 2010 10:03 PM

This is a nice theme. I think it works well.

# new era hats said on 17 February, 2011 10:16 PM

be sure to check out these 10 excellent interactive website designs. No web designer should go another minute without bookmarking this collection of impressive and varied designs on Flickr. Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.

# Home Security Monitoring phoenix said on 17 March, 2011 10:48 AM

I appreciate, cause I found exactly what I was looking for. You have ended my four day long hunt! God Bless you man. Have a great day. Bye

<b><a href="aimeeti.info/.../technology-has-as-long-as

">Home Security Monitoring

<a/><b/>

# famous love quotes said on 18 April, 2011 08:39 AM

I need to state that I haven't read something so motivating in a while. There are a lot of motivating views and opinions. I think that you definitely exposed an important fact.

# Carbonless Paper said on 05 January, 2012 04:56 AM

One element is using AJAX to dynamically invigorate a little element of 1 page; all another element is developing a whole demonstration part to be partly rejuvenated in every possible function against the hosting server.

# essay service said on 19 January, 2012 08:11 AM

It was one of the things that amazed me when I began studying AJAX. It's such a technology of future.

Leave a Comment

(required) 
(required) 
(optional)
(required)