Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 575 Bytes

addressing-couchdb-limitations.md

File metadata and controls

11 lines (6 loc) · 575 Bytes

Addressing CouchDB Limitations

How to add owner, timestamp, etc. to the document

Use a microservice that resides between the actual application and the database, add timestamp and document owner at this step.

How to make a transaction

TODO: https://en.wikipedia.org/wiki/Two-phase_commit_protocol

Set your document's type: 'transaction' and let the CouchDcsServer handle the rest. Algorithm is explained in the source code.