Pro Yearly is on sale from $80 to $50! »

tus.io - Resumable File Uploads (Lightning Talk)

tus.io - Resumable File Uploads (Lightning Talk)

Lightning Talk given at UIKonf 2013 preparty about tus.io - resumable file uploads.

23968f0ca75b13463d2db5343e5c2096?s=128

Felix Geisendörfer

May 01, 2013
Tweet

Transcript

  1. felixge tus.io Resumable File Uploads Felix Geisendörfer ?

  2. @felixge felixge File uploading sucks

  3. @felixge felixge HD cameras everywhere HD Cameras Huge file sizes

    Example: 45 second video on iPhone 5 = ~100 MB
  4. @felixge felixge Slow uplinks • Wifi: ~2.5min (~5000kbsp) • LTE:

    ~10 min (~1300 kbsp) • 3G: ~40min (at ~330 kbps) • Edge: ~66 min (at 200 kbps) Average upload speeds for 100 MB* * sources: Apple Network Link Conditioner and http://www.lte-anbieter.info/presse/12/analyse-speed-lte.html
  5. @felixge felixge Unreliable Networks

  6. felixge 99.9 / 100 MB upload, 2 seconds remaining error:

    connection lost, please upload again!
  7. felixge resumable file uploading

  8. felixge possible today, but very hard

  9. felixge the tus resumable upload protocol

  10. felixge simple, open, free https://github.com/tus/ tus-resumable-upload-protocol v0.2 was released today!

  11. felixge POST /files HTTP/1.1 Host: tus.example.org Content-Length: 0 Final-Length: 100

    HTTP/1.1 201 Created Location: http://tus.example.org/files/1
  12. @felixge felixge PATCH /files/1 HTTP/1.1 Host: tus.example.org Content-Length: 100 Offset:

    0 [file data] HTTP/1.1 200 Ok
  13. @felixge felixge HEAD /files/1 HTTP/1.1 Host: tus.example.org HTTP/1.1 200 Ok

    Offset: 70
  14. @felixge felixge PATCH /files/1 HTTP/1.1 Host: tus.example.org Content-Length: 30 Offset:

    70 [remaining file data] HTTP/1.1 200 Ok
  15. felixge clients and servers for all platforms

  16. felixge tus-ios-client https://github.com/tus/tus-ios-client by Alexis Hildebrandt

  17. felixge upload acceleration

  18. felixge checksums, meta data, streams, etc.

  19. felixge

  20. @felixge felixge tus.io