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

presentation 2 josh developer silver spring md rti twin
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Presentation #2

slide-2
SLIDE 2

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

slide-3
SLIDE 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
slide-4
SLIDE 4

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

slide-5
SLIDE 5

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

slide-6
SLIDE 6

Context —Kenya —Rural —Intermittent connection —Low bandwidth

slide-7
SLIDE 7

Problem

  • 1. Users complain it doesn’t
  • work. Timeouts.
  • 2. Doesn’t finish.
  • 3. No feedback.
slide-8
SLIDE 8

Step 0

Geography

Moved the server from New York to Frankfurt.

slide-9
SLIDE 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
slide-10
SLIDE 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.
slide-11
SLIDE 11

Step 3

LZ Compression

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

slide-12
SLIDE 12

Step 4

Ditching CouchDB replication

—MVCC —Multiple requests

slide-13
SLIDE 13

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

slide-14
SLIDE 14

Result? —hour to minutes Thanks for listening

The End

slide-15
SLIDE 15

Q&A