presentation 2 josh developer silver spring md rti twin
play

Presentation #2 Josh developer silver spring, md RTI twin dad - PowerPoint PPT Presentation

Presentation #2 Josh developer silver spring, md RTI twin dad canadian Outline 1. What is Tangerine? 2. Where were we and what were we doing? 3. What went wrong? 4. How did we respond? 5. Q&A Tangerine Android


  1. Presentation #2

  2. Josh —developer —silver spring, md —RTI —twin dad —canadian

  3. Outline 1. What is Tangerine? 2. Where were we and what were we doing? 3. What went wrong? 4. How did we respond? 5. Q&A

  4. Tangerine —Android —Data collection —Literacy assessments for early grades —Web interface for designing assessments —Mobile interface for collecting data

  5. Technology Web application (Backbone.js) Apache Cordova CouchDB (document oriented database)

  6. Context —Kenya —Rural —Intermittent connection —Low bandwidth

  7. Problem 1. Users complain it doesn’t work. Timeouts. 2. Doesn’t finish. 3. No feedback.

  8. Step 0 Geography Moved the server from New York to Frankfurt.

  9. Step 1 Divide and conquer 1. Break up the data into logical chunks. (group of documents) 2. If at first you don’t succeed

  10. Step 2 Psychology Display 3 pieces of information 1. Upload progress (chunk 1 out of 15 chunks) 2. Internet connection quality. (bad, poor, ok, good) 3. Upload history.

  11. Step 3 LZ Compression LZ-String-1.3.3 —Compressed our JSON down to 38% of original size —AJAX —Base64 (60%)

  12. Step 4 Ditching CouchDB replication —MVCC —Multiple requests

  13. Steps —Geography —Divide and Conquer —Psychology —LZ Compression —Ditching CouchDB Replication

  14. Result? —hour to minutes Thanks for listening The End

  15. Q&A

Recommend


More recommend