Ajax Prediction

795 views
729 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
795
On SlideShare
0
From Embeds
0
Number of Embeds
34
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • I’d like to start by thanking Jesse and Rail for putting this meeting together. The momentum that has built up since Jesse coined the term AJAX less than two months ago has been really remarkable, and I think it’s really valuable to get us all in the same room so that we can hammer out what it all means, and where things are going from here..
  • Ajax Prediction

    1. 1. Making Magic Happen: Predicting User Behavior in AJAX applications Jonathan Boutelle Uzanto Consulting
    2. 2. Who am I? <ul><li>www.uzanto.com </li></ul><ul><li>www.jonathanboutelle.com </li></ul>
    3. 6. Vanilla Web Application ( circa 2000 ) Http request Initial Html User action Html (with data embedded) User action Html (with data embedded) … HTML Server Dbase User action requiring data User action requiring data
    4. 7. Rich Internet Application ( circa 2003 ) Http request for app App (ActionScript & Flash) downloads Data UI Client Manager Server Dbase User action requiring data
    5. 8. Rich Internet Application ( circa 2004 ) Http request for app App (ActionScript & Flash) downloads User action requiring data Optionally preload data UI Client Manager Server Dbase
    6. 9. AJAX Application ( circa 2005 ) Http request for app User action requiring data ALWAYS preload data UI Client Manager Server Dbase App (Javascript & HTML) downloads
    7. 11. Building a model of user behavior <ul><li>Build naïve model </li></ul><ul><li>Validate and refine model </li></ul><ul><li>Be metric driven </li></ul><ul><ul><li>Responsiveness: % user data requests that were met with pre-fetched data </li></ul></ul><ul><ul><li>Efficiency: the % of pre-fetched data that ended up being used </li></ul></ul>
    8. 13. Download if value > cost <ul><li>Value = value of reduced latency * odds the data will be needed </li></ul><ul><li>Cost = cost of download * odds the data won’t be needed </li></ul>
    9. 14. Value vs. Cost

    ×