top

Package replica registers the "replica" blobserver storage type, providing synchronous replication to one more backends.

Writes wait for minWritesForSuccess (default: all). Reads are attempted in order and not load-balanced, randomized, or raced by default.

Example config:

"/repl/": {
    "handler": "storage-replica",
    "handlerArgs": {
        "backends": ["/b1/", "/b2/", "/b3/"],
        "minWritesForSuccess": 2
    }
},

Imports 4 package(s)

  1. camlistore.org/pkg/blob
  2. camlistore.org/pkg/context
  3. camlistore.org/pkg/jsonconfig
  4. camlistore.org/pkg/blobserver

Test imports 2 package(s)

  1. camlistore.org/pkg/blobserver/storagetest
  2. camlistore.org/pkg/test