Jun 10, 2015
That's how yourmobile applooks... whenyou're mobile (!)
This is because...
(1) mobilenetworks suck...
(2) ...it's a pain inthe ass to solve
Let your mobileapp work off-line!
What is it?
Winch [wɪntʃ] noun.
A master-slave replication engine
designed to perform well over mobile
networks.
“
How does itwork?
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.
Concepts
In short
Winch is a key-value data store.“
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.
Think of it as...
datastore ~ database
namespace ~ table
key ~ primary key
value ~ data
How-to?
(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.
(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™.
Give It A Try!
Steps
1. Register on http://winch.io,
2. Activate your account,
3. Follow our step-by-step User Guide.
Need Help?
Just ask!
• Ping us on Twitter: @winch_io,
• Drop us an email: winch AT moodstocks DOT com .
Thanks :)