commit | 06578c4b1b6f4bbd6ccd086391bb472001743b2f | [log] [tgz] |
---|---|---|
author | ILYA Khlopotov <iilyak@ca.ibm.com> | Tue May 17 16:57:16 2016 -0700 |
committer | ILYA Khlopotov <iilyak@ca.ibm.com> | Tue May 17 16:57:16 2016 -0700 |
tree | d60a0946e04dccee5874f65884ce0ff6ef461ecb | |
parent | c449ab22431658173af45a6599d9875883adb911 [diff] |
Use create_if_missing option of couch_db:open_int
Fabric is a collection of proxy functions for CouchDB operations in a cluster. These functions are used in CouchDB as the remote procedure endpoints on each of the cluster nodes.
For example, creating a database is a straightforward task in CouchDB 1.x, but for a clustered CouchDB, each node that will store a shard for the database needs to receive and execute a fabric function. The node handling the request also needs to compile the results from each of the nodes and respond accordingly to the client.
Fabric is used in conjunction with ‘Rexi’ which is also an application within CouchDB.
Fabric requires R13B03 or higher and can be built with rebar.