Chris Masone 0fc183d429 Refactor new DataStore code
The initial refactor had some pretty confusing struct and method
names, so this patch renames a number of things and migrates a bunch
of code to the types/ from datas/, where it seems to be a better
logical fit.

datas.cachingValueStore          -> types.ValueStore
datas.hintedChunkStore interface -> types.BatchStore
datas.naiveHintedChunkSink       -> types.BatchStoreAdaptor
datas.httpHintedChunkStore       -> datas.httpBatchStore
datas.notAHintedChunkSink        -> datas.notABatchStore

Also, types now exports a ValidatingBatchingSink, which is used by
datas.HandleWriteValue to process incoming hints and validate incoming
Chunks before putting them into a ChunkStore.

Towards Issue #1250
2016-04-15 10:57:45 -07:00
2016-04-13 14:01:40 -07:00
2016-04-15 10:57:45 -07:00
2016-04-11 18:14:40 -07:00
2016-04-15 10:57:45 -07:00
2016-03-29 16:41:26 -07:00

Noms

Noms is a content-addressable, append-only, peer-to-peer, structured data store.

In other words, noms is git for data.

This repository contains two reference implementations of the noms protocol - one in Go, and one in JavaScript. It also includes a number of tools and sample applications.

Prerequisites

Set environment variables

Get the code

mkdir -p $GOPATH/src/github.com/attic-labs
cd $GOPATH/src/github.com/attic-labs
git clone https://github.com/attic-labs/noms

Build

go install `go list ./... | grep -v /vendor/`
go test `go list ./... | grep -v /vendor/`

Run

cd "$GOPATH/src/github.com/attic-labs/noms/clients/counter"
go build
./counter -ldb=/tmp/foo -ds=foo
./counter -ldb=/tmp/foo -ds=foo
./counter -ldb=/tmp/foo -ds=foo

What next?

Description
Dolt – Git for Data
Readme Apache-2.0 409 MiB
Latest
2026-02-09 20:09:01 -06:00
Languages
Go 84.1%
Shell 15%
JavaScript 0.3%
Java 0.1%
Python 0.1%