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

Winch - Let your mobile apps work off-line

Winch - Let your mobile apps work off-line

High-level overview of Winch - a master-slave replication engine designed to perform well over mobile networks, for the #hack4good Paris hackathon.

See: http://winch.io/

Cédric Deltheil

October 04, 2013
Tweet

More Decks by Cédric Deltheil

Other Decks in Programming

Transcript

  1. As simple as 1, 2, 3 1.  you upload your

    data, •  we provide an HTTP API for that, 2.  our servers prepare it for transfer, •  we re-package your data into optimal packs, •  we store it on a CDN for efficient transfers, 3.  it is sent to mobile clients and stored in a local database, •  we provide a client-side SDK for that.
  2. More precisely •  your data lives in a datastore made

    of: •   namespace -s which contain: •   record -s made of: •   key , •   value It's like a collection of hash maps.
  3. (1/2) Upload data on Winch server •  We provide an

    HTTP API: •  use our Python or Lua client library, •  or use cURL from the command-line.
  4. (2/2) Sync data with Winch client •  We provide a

    SDK for iOS and Android: •  call sync() to keep your client in sync, •  then get your data via get(ns, key) . It's fully-packaged and easy to use! No networking code required™.
  5. Just ask! •  Ping us on Twitter: @winch_io, •  Drop

    us an email: winch AT moodstocks DOT com .