Upgrade to Pro — share decks privately, control downloads, hide ads and more …

REST vs. Mobile

Applidium
December 09, 2015

REST vs. Mobile

Presentation made by our Senior Developer & Head of back end Hugo Hache during Apidays 2015 in Paris

Applidium

December 09, 2015
Tweet

More Decks by Applidium

Other Decks in Technology

Transcript

  1. Generation! Data rate! Latency! Edge 100-400 Kbit/s 300-1000 ms 3G

    0.5-5 Mbit/s 100-500 ms 4G 1-50 Mbit/s < 100 ms
  2. { "favorites": [ { "id" : 1, "stop_id": 1, "line_id":

    2, "direction_id": 2 }, … ] } { "favorites": [ { "id" : 1, "stop_id": { "id": 1, "name": "Ascq Village" }, "line_id": { "id": 2, "code": "43", "pictogram_url": "http:// line.com/43" }, "direction_id": { "id": 2, "name": "Mont de Terre" } }, … ] }
  3. ✓ Parallelize on mobile ✓ Nest, compress and configure verbosity

    with accept header ✓ Leverage as much as possible HTTP Caching