top

Package storage implements the Cockroach storage node. A storage node exports the "Node" Go RPC service. Each node handles one or more stores, identified by a device name. Each store corresponds to a single physical device. A store multiplexes to one or more ranges, identified by start key. Ranges are contiguous regions of the keyspace. Each range implements an instance of the raft consensus algorithm to synchronize range replicas.

The Engine interface provides an API for key-value stores. InMem implements an in-memory engine using a sorted map. RocksDB implements an engine for data stored to local disk using RocksDB, a variant of LevelDB.

Imports 5 package(s) ΒΆ

  1. github.com/golang/glog
  2. gopkg.in/yaml.v1
  3. github.com/cockroachdb/cockroach/util
  4. github.com/cockroachdb/cockroach/gossip
  5. code.google.com/p/biogo.store/llrb