synchronization with couchdb and pouchdb

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

Upload: eu-edge

Post on 22-Jan-2018

306 views

Category:

Software


1 download

TRANSCRIPT

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?