replica

package
v0.0.0-...-6608488 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2013 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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
    }
},

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL