Home Download Docs Code Community
import "perkeep.org/pkg/blobserver/shard"
Overview
Index

Overview ▾

Package shard registers the "shard" blobserver storage type, predictably spraying out blobs out over the provided backends based on their blobref. Each blob maps to exactly one backend.

Example low-level config:

"/foo/": {
    "handler": "storage-shard",
    "handlerArgs": {
        "backends": ["/s1/", "/s2/"]
     }
},

Index

Package files

shard.go

Website layout inspired by memcached.
Content by the authors.