mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-11 02:59:34 -06:00
82dfd418bbfaf51383bdde66f8acec0fc7d51945
The parallelism in csv.Write() seemed like overkill since we had to build the entire CSV in memory in order to take advantage of it. The code is simpler, now, and uses far less memory, though it is likely to be slower for large data.
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
- Go 1.4+
- Python 2.7+ (Note: Python 2.x only, not Python 3.x)
- Node.js 5.3+
Set environment variables
- Ensure
$GOPATHis set correctly - Set
GO15VENDOREXPERIMENT=1in your environment - all our code requires this
Get the code
go get -u -t 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?
- Learn the core tools:
server,splore,shove,csv_importer,json_importer,xml_importer - Run sample apps:
sfcrime,tagshow(photo viewer) - NomDL reference (TODO)
- Go SDK reference (TODO)
- JavaScript SDK reference (TODO)
Description
Releases
128
Languages
Go
84.1%
Shell
15%
JavaScript
0.3%
Java
0.1%
Python
0.1%