master

package
v0.0.0-...-1aaebbc Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DKVClusterService

type DKVClusterService interface {
	DKVService
	serverpb.DKVClusterServer
}

A DKVClusterService represents a service for serving key value data along with exposing all mutations as a replication stream. Moreover it also provides means to add and remove DKV nodes onto the current cluster.

func NewDistributedService

func NewDistributedService(kvs storage.KVStore, cp storage.ChangePropagator, br storage.Backupable,
	raftRepl nexus_api.RaftReplicator, lgr *zap.Logger, statsCli stats.Client) DKVClusterService

NewDistributedService creates a distributed variant of the DKV service that attempts to replicate data across multiple replicas over Nexus.

type DKVService

A DKVService represents a service for serving key value data along with exposing all mutations as a replication stream.

func NewStandaloneService

func NewStandaloneService(store storage.KVStore, cp storage.ChangePropagator, br storage.Backupable, lgr *zap.Logger, statsCli stats.Client) DKVService

NewStandaloneService creates a standalone variant of the DKVService that works only with the local storage.

Jump to

Keyboard shortcuts

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