Friday 15 May 2015

architecture - is Pouchdb production ready and robust for processing thousands of documents -



architecture - is Pouchdb production ready and robust for processing thousands of documents -

currently working on project requires huge amount of info entry, document update every min of day. considering using pouchdb offline storage app although each local re-create of pouchdb in live sync remote online couchdb server. want know following:

the database size can grow big hundreds of thousands, on 60,000 documents.

is pouchdb right solution kind of system.

is pouchdb robust plenty handle crud on local db has on 60k documents , go on grow everyday @ rate of on 1,000 documents.

what ways cut down document conflicts since each app installation have own local pouchdb , how can speed sync?

how reliable pouchdb replication given lot of document creation, read, sync , edit going on @ each end.

currently @ office, current installation of app, syncs local couchdb, slow , takes time before local copies in sync , there chances document conflict can/or occur.

there close 50 installations in same wired lan couchdb server, should create direct calls lan couchdb server or local pouchdb copy.

you sentiment , answers very helpful.

first off, depends on target platform. pouchdb has no upper document limit, browsers definitely have storage limits.

second, if documents beingness modified/deleted lot, want compaction. may want utilize filter-pouch compress document fields gzip before storing them.

third, couchdb replication has performance problems due http chattiness. there's some advice here how can improve sync performance. we're working on an alternative replication method speed up.

conflicts larger question; have guide coming out have whole chapter on conflict resolution. if you're impatient, it's same couchdb, , have docs it. :)

one lastly comment: if couchdb literally hosted on same lan devices targeting, , if devices used while online, pouchdb offer no performance benefits. may want utilize pouchdb simple direct couchdb client, maintain code flexible.

architecture couchdb replication sync pouchdb

No comments:

Post a Comment