15
Házunk előtt két szinkronizál Szalóki Róbert @euedge

Synchronization with CouchDB and PouchDB

  • Upload
    eu-edge

  • View
    306

  • Download
    1

Embed Size (px)

Citation preview

Házunk előtt két szinkronizál

Szalóki Róbert @euedge

Latency

IndexedDB

● NOSQL Object store

● Indexes

● Transactions

● Cursors

● Request - response API

● Callback hell

Dexie.js

WTF??

WTF??

WTF??

WTF??

CouchDB + PouchDB

● since 2005● NOSQL● Document oriented● Distributed

architecture● Master - Master

replication● map/reduce views

(indexes), written in JS

● CouchDB inspired database written in JS

● can synchronize with CouchDB

● runs in the browser or on a server (node)

● great documentation● lots of plugins

PouchDB and CouchDB were designed for one main purpose: sync.

http://pouchdb.com/

https://www.pokedex.org/

WebRTC

https://github.com/natevw/PeerPouch

Kérdések?